diff --git a/bashrc b/bashrc index 3614c91d..d1d66301 100644 --- a/bashrc +++ b/bashrc @@ -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. diff --git a/zshrc b/zshrc index 44d441b0..e915edfa 100644 --- a/zshrc +++ b/zshrc @@ -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).