mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
bashrc & zshrc: don't run who on Mac
This commit is contained in:
parent
d097b1a170
commit
628cb6d8d8
4
bashrc
4
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.
|
||||
|
4
zshrc
4
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).
|
||||
|
Loading…
Reference in New Issue
Block a user