]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Add "lastf" ("last foreign") alias
authorAlexander Barton <alex@barton.de>
Mon, 22 Sep 2014 17:32:58 +0000 (19:32 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 22 Sep 2014 17:32:58 +0000 (19:32 +0200)
sys/bashrc

index eb4799c3297e2596d19df44cb1eddbdd72c5d14f..cdc02ce85adf64e52e5715cfe6933049023839ee 100644 (file)
@@ -141,6 +141,7 @@ fi
 
 # Common command aliases (2/2)
 alias "lasth"="last | head -n \`expr \\\$LINES - 2\`"
+alias "lastf"="last | grep -v \"^\$LOGNAME\""
 
 # Aliases for screen(1), if installed
 type -t screen >/dev/null