SyntaxFix
Write A Post
Hire A Developer
Questions
Apropos history -- using cryptic carets, etc. is not entirely intuitive. To print all history items containing a given string:
function histgrep { fc -l -$((HISTSIZE-1)) | egrep "$@" ;}