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/rc | |
parent | e7ad146b035856a747781fa4fb823a24aa3f5842 (diff) |
Remove check_com function
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |