diff --git a/.bashrc b/.bashrc index 9b2b016..eb468d9 100644 --- a/.bashrc +++ b/.bashrc @@ -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 .' #--------------------------------------------------------------------------------