From ec6c924f8791926693a515524b27eb805be50f63 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Nov 2009 23:20:29 +0100 Subject: Remove check_com function --- etc/functions/help | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions/help') 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 } -- cgit v1.2.3