mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: limit who to 10 lines too.
This commit is contained in:
parent
1eac4252ef
commit
5b3bb32ee1
4
bashrc
4
bashrc
@ -149,13 +149,13 @@ hostname
|
||||
uptime
|
||||
echo ""
|
||||
if [[ $UNAME != Darwin ]]; then
|
||||
who -H -w -u
|
||||
who -H -w -u|head -n10
|
||||
echo ""
|
||||
last -10 -w -x
|
||||
fi
|
||||
|
||||
if [[ $UNAME = Darwin ]]; then
|
||||
who -H -u
|
||||
who -H -u|head -n10
|
||||
echo ""
|
||||
last -10
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user