Use 'htop' when possible.

This commit is contained in:
Scott Wallace 2016-01-27 15:49:34 +00:00
parent 6a01d5e0f1
commit fad55152dc
2 changed files with 4 additions and 10 deletions

13
.bashrc
View file

@ -62,17 +62,10 @@ export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a"
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
# OS X aliases # Command aliases
#--------------------------------------------------------------------------------
if [ $(uname -s) = "Darwin" ]; then
alias top='top -u'
alias ll='ls -l'
fi
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Git aliases
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
alias ll='ls -l'
[[ -x $(which htop) ]] && alias top='htop'
alias gitx='open -a GitX .' alias gitx='open -a GitX .'
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------

View file

@ -7,6 +7,7 @@ fi
xargs brew install <<EOF xargs brew install <<EOF
git git
coreutils coreutils
htop
python3 python3
vim vim
EOF EOF