bashrc & zshrc: don't run who on Mac

This commit is contained in:
Mika Suomalainen 2013-02-17 09:11:44 +02:00
parent d097b1a170
commit 628cb6d8d8
2 changed files with 6 additions and 2 deletions

4
bashrc
View File

@ -135,7 +135,9 @@ fi
hostname
uptime
echo ""
who -H -w -u
if [[ $UNAME != Darwin ]]; then
who -H -w -u
fi
##### Environment 7RS56S #####
# Environment should be placed to .environment or .bash_environment.

4
zshrc
View File

@ -76,7 +76,9 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
hostname
uptime
echo ""
who -H -w -u
if [[ $UNAME != Darwin ]] then;
who -H -w -u
fi
##### Environment 7RS56S #####
# Environment should be placed to .environment or .zsh_environment (or .zshenv).