diff options
-rw-r--r-- | sh/shrc.d/hgrep.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/shrc.d/hgrep.sh b/sh/shrc.d/hgrep.sh index b6143b37..1c4c3ec5 100644 --- a/sh/shrc.d/hgrep.sh +++ b/sh/shrc.d/hgrep.sh @@ -5,11 +5,11 @@ # hgrep() { if [ "$#" -eq 0 ] ; then - printf >&2 'hgrep: Need a pattern\n' + printf >&2 'hgrep(): Need a pattern\n' exit 2 fi if ! [ -n "$HISTFILE" ] ; then - printf >&2 'hgrep: No HISTFILE\n' + printf >&2 'hgrep(): No HISTFILE\n' exit 2 fi grep "$@" "$HISTFILE" |