From: Alexander Barton Date: Fri, 8 May 2015 23:22:02 +0000 (+0200) Subject: Add "accounting" plugin: User accounting related functions X-Git-Url: https://arthur.barton.de/gitweb/?p=OhMyZshExtensions.git;a=commitdiff_plain;h=07454fc16e79edf4e4735f015a4ded95acaab34f Add "accounting" plugin: User accounting related functions --- diff --git a/plugins/accounting/accounting.plugin.zsh b/plugins/accounting/accounting.plugin.zsh new file mode 100644 index 0000000..f86a1dd --- /dev/null +++ b/plugins/accounting/accounting.plugin.zsh @@ -0,0 +1,5 @@ +# accounting.plugin.zsh +# 2015-05-09, alex@barton.de + +alias lasth='last | head -n $((LINES-1))' +alias lastf='last | grep -v "^$LOGNAME"'