Fix an alias issue for 'top'.
This commit is contained in:
parent
d9d7e100e7
commit
c9ceea9b99
2
.bashrc
2
.bashrc
|
@ -37,7 +37,9 @@ export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; histor
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
# Make OS X's 'top' behave like the GNU one
|
# Make OS X's 'top' behave like the GNU one
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
if [ $(uname -s) = "Darwin" ]; then
|
||||||
alias top='top -u'
|
alias top='top -u'
|
||||||
|
fi
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue