bashrc & zshrc: add last

This commit is contained in:
Mikaela Suomalainen 2014-05-03 12:20:38 +03:00
parent e5c323d0a0
commit 1eac4252ef
2 changed files with 8 additions and 0 deletions

4
bashrc
View File

@ -150,10 +150,14 @@ uptime
echo ""
if [[ $UNAME != Darwin ]]; then
who -H -w -u
echo ""
last -10 -w -x
fi
if [[ $UNAME = Darwin ]]; then
who -H -u
echo ""
last -10
fi
##### Environment 7RS56S #####

4
zshrc
View File

@ -86,10 +86,14 @@ echo ""
if [[ $UNAME != Darwin ]] then;
who -H -w -u
echo ""
last -10 -w -x
fi
if [[ $UNAME = Darwin ]]; then
who -H -u
echo ""
last -10
fi
##### Environment 7RS56S #####