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/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 84af81f..c34fe26 100644 --- a/etc/rc +++ b/etc/rc @@ -296,7 +296,7 @@ linux: salias netstat='netstat --program --all --tcp --extend' || # less frequent updates when running ncdu via ssh -[[ -n $SSH_CONNECTION ]] && check_com -c ncdu && alias ncdu='ncdu -q' +[[ -n $SSH_CONNECTION && -n $commands[ncdu] ]] && alias ncdu='ncdu -q' alias bc='bc -l' @@ -489,7 +489,7 @@ source $ZDIR/../provided/includes # local configuration, not in git xsource $ZDIR/local -check_com envstore && eval $(envstore eval) +[[ -n $commands[envstore] ]] && eval $(envstore eval) # local configuration, in git xsource $ZDIR/hosts/$HOST -- cgit v1.2.3