Fix an alias issue for 'top'.
This commit is contained in:
parent
d9d7e100e7
commit
c9ceea9b99
4
.bashrc
4
.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
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
alias top='top -u'
|
if [ $(uname -s) = "Darwin" ]; then
|
||||||
|
alias top='top -u'
|
||||||
|
fi
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue