Ensure the htop check does not produce errors when not installed.

This commit is contained in:
Scott Wallace 2016-01-27 15:57:19 +00:00
parent ea9c37d795
commit 2f282fe51f

View file

@ -71,7 +71,7 @@ export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a"
# Command aliases
#--------------------------------------------------------------------------------
alias ll='ls -l'
[[ -x $(which htop) ]] && alias top='htop'
[[ -x $(which htop 2>/dev/null) ]] && alias top='htop'
alias gitx='open -a GitX .'
#--------------------------------------------------------------------------------