]> arthur.barton.de Git - ax-zsh.git/commitdiff
std_aliases: Use "last -aw" for "lastf" and "lasth" aliases
authorAlexander Barton <alex@barton.de>
Fri, 30 Apr 2021 11:02:28 +0000 (13:02 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 30 Apr 2021 11:02:28 +0000 (13:02 +0200)
default_plugins/std_aliases/std_aliases.zshrc

index 267d1f65c4d5f58c21276d2a948987804ad6873d..4d938a7f7a3ca994617e490161201b8bfb41bae6 100644 (file)
@@ -5,8 +5,8 @@ alias ll="ls -hl"
 alias l="ll -a"
 alias la="ll -A"
 
-alias lasth='last | head -n "$((LINES-1))"'
-alias lastf='last | grep -v "^$LOGNAME"'
+alias lasth='last -aw | head -n "$((LINES-1))"'
+alias lastf='last -aw | grep -v "^$LOGNAME"'
 
 alias d='dirs -v | head -10'
 alias 1='cd ~1 && pwd'