diff --git a/.bashrc b/.bashrc index cc973a7..92458b5 100644 --- a/.bashrc +++ b/.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 #-------------------------------------------------------------------------------- -alias top='top -u' +if [ $(uname -s) = "Darwin" ]; then + alias top='top -u' +fi #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------