summaryrefslogtreecommitdiff
path: root/etc/functions/help
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/help')
-rwxr-xr-xetc/functions/help2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/help b/etc/functions/help
index bb061ae..1b338b2 100755
--- a/etc/functions/help
+++ b/etc/functions/help
@@ -3,7 +3,7 @@
if man -w $1 &> /dev/null; then
man $1
-elif [[ -n $(whichf $1) ]]; then
+elif whichf $1 &> /dev/null; then
finfo $1
elif (( ${+builtins[$1]} )); then
man zshbuiltins | less -p " $1"