diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-27 23:29:14 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-27 23:29:14 +1300 |
commit | 38bc0e61127d4dd7cf245f26b06c2ed5ca21d159 (patch) | |
tree | dcee672b8acde379cc77854fc3b739d65f5ae3be /bash/bashrc.d/hgrep.bash | |
parent | Update link to OpenPGP best practices (diff) | |
download | dotfiles-38bc0e61127d4dd7cf245f26b06c2ed5ca21d159.tar.gz dotfiles-38bc0e61127d4dd7cf245f26b06c2ed5ca21d159.zip |
Don't force end-of-options in hgrep
Diffstat (limited to 'bash/bashrc.d/hgrep.bash')
-rw-r--r-- | bash/bashrc.d/hgrep.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/hgrep.bash b/bash/bashrc.d/hgrep.bash index 0c31a213..3d0d0589 100644 --- a/bash/bashrc.d/hgrep.bash +++ b/bash/bashrc.d/hgrep.bash @@ -4,6 +4,6 @@ # $ history | grep PATTERN # hgrep() { - grep -- "${@:?}" "${HISTFILE:?}" + grep "${@:?}" "${HISTFILE:?}" } |