diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-21 23:20:29 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-21 23:20:29 +0100 |
commit | ec6c924f8791926693a515524b27eb805be50f63 (patch) | |
tree | 2018e2599e767adcbf81f021060e1daa4d0dc355 /etc/functions/help | |
parent | e7ad146b035856a747781fa4fb823a24aa3f5842 (diff) |
Remove check_com function
Diffstat (limited to 'etc/functions/help')
-rw-r--r-- | etc/functions/help | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/help b/etc/functions/help index aa0c269..db3eca1 100644 --- a/etc/functions/help +++ b/etc/functions/help @@ -21,7 +21,7 @@ function help_check_man { man -w $1 &> /dev/null } function help_check_zshfunction { whichf $1 &> /dev/null } function help_check_zshbuiltin { (( ${+builtins[$1]} )) } function help_check_apt { - [[ $commands[$1] != ${HOME}* ]] && check_com -c $1 && check_com -c apt-file + [[ $commands[$1] != ${HOME}* ]] && [[ -n $commands[$1] ]] && [[ -n $commands[apt-file ]] } function help_show_man { man $1 } |