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
2
bashrc
2
bashrc
@ -135,7 +135,9 @@ fi
|
|||||||
hostname
|
hostname
|
||||||
uptime
|
uptime
|
||||||
echo ""
|
echo ""
|
||||||
|
if [[ $UNAME != Darwin ]]; then
|
||||||
who -H -w -u
|
who -H -w -u
|
||||||
|
fi
|
||||||
|
|
||||||
##### Environment 7RS56S #####
|
##### Environment 7RS56S #####
|
||||||
# Environment should be placed to .environment or .bash_environment.
|
# Environment should be placed to .environment or .bash_environment.
|
||||||
|
2
zshrc
2
zshrc
@ -76,7 +76,9 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
|||||||
hostname
|
hostname
|
||||||
uptime
|
uptime
|
||||||
echo ""
|
echo ""
|
||||||
|
if [[ $UNAME != Darwin ]] then;
|
||||||
who -H -w -u
|
who -H -w -u
|
||||||
|
fi
|
||||||
|
|
||||||
##### Environment 7RS56S #####
|
##### Environment 7RS56S #####
|
||||||
# Environment should be placed to .environment or .zsh_environment (or .zshenv).
|
# Environment should be placed to .environment or .zsh_environment (or .zshenv).
|
||||||
|
Loading…
Reference in New Issue
Block a user