mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc & zshrc: add last
This commit is contained in:
parent
e5c323d0a0
commit
1eac4252ef
4
bashrc
4
bashrc
@ -150,10 +150,14 @@ uptime
|
|||||||
echo ""
|
echo ""
|
||||||
if [[ $UNAME != Darwin ]]; then
|
if [[ $UNAME != Darwin ]]; then
|
||||||
who -H -w -u
|
who -H -w -u
|
||||||
|
echo ""
|
||||||
|
last -10 -w -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $UNAME = Darwin ]]; then
|
if [[ $UNAME = Darwin ]]; then
|
||||||
who -H -u
|
who -H -u
|
||||||
|
echo ""
|
||||||
|
last -10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##### Environment 7RS56S #####
|
##### Environment 7RS56S #####
|
||||||
|
4
zshrc
4
zshrc
@ -86,10 +86,14 @@ echo ""
|
|||||||
|
|
||||||
if [[ $UNAME != Darwin ]] then;
|
if [[ $UNAME != Darwin ]] then;
|
||||||
who -H -w -u
|
who -H -w -u
|
||||||
|
echo ""
|
||||||
|
last -10 -w -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $UNAME = Darwin ]]; then
|
if [[ $UNAME = Darwin ]]; then
|
||||||
who -H -u
|
who -H -u
|
||||||
|
echo ""
|
||||||
|
last -10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##### Environment 7RS56S #####
|
##### Environment 7RS56S #####
|
||||||
|
Loading…
Reference in New Issue
Block a user