Ensure the htop check does not produce errors when not installed.
This commit is contained in:
parent
ea9c37d795
commit
2f282fe51f
2
.bashrc
2
.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 .'
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue