From 1eac4252ef097a2efb2b918aa96ad5981c27509c Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 3 May 2014 12:20:38 +0300 Subject: [PATCH] bashrc & zshrc: add last --- bashrc | 4 ++++ zshrc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bashrc b/bashrc index c44f715c..b2b5d2e8 100644 --- a/bashrc +++ b/bashrc @@ -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 ##### diff --git a/zshrc b/zshrc index 44cdd55a..73dbf6b9 100644 --- a/zshrc +++ b/zshrc @@ -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 #####