aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-23 08:28:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-23 08:28:11 +1200
commita62fb7bac4a43c105c54fd19511b7fe9ae6cc706 (patch)
tree7b0ffee41c159c0609432a03082c6a0578224623 /sh
parentAdd ed() options file check (diff)
downloaddotfiles-a62fb7bac4a43c105c54fd19511b7fe9ae6cc706.tar.gz
dotfiles-a62fb7bac4a43c105c54fd19511b7fe9ae6cc706.zip
Fix up an error message
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc.d/hgrep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/hgrep.sh b/sh/shrc.d/hgrep.sh
index fe297ab3..9d7542b4 100644
--- a/sh/shrc.d/hgrep.sh
+++ b/sh/shrc.d/hgrep.sh
@@ -9,7 +9,7 @@ hgrep() {
return 2
fi
if [ -z "$HISTFILE" ] ; then
- printf >&2 'hgrep(): No HISTFILE\n'
+ printf >&2 'hgrep(): HISTFILE unset or null\n'
return 2
fi
grep "$@" "$HISTFILE"