]> Sergey Matveev's repositories - dotfiles.git/commitdiff
No whitespaces during line counting
authorSergey Matveev <stargrave@stargrave.org>
Thu, 8 Apr 2021 13:54:49 +0000 (16:54 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 8 Apr 2021 13:54:49 +0000 (16:54 +0300)
zsh/.zshrc

index b0c5e6a3c39af07fcc79d5a69a127cc33739248c..d109213a429eecdf1dd30c2e5b4a7bf4b6b9ed2d 100644 (file)
@@ -81,7 +81,7 @@ alias vi="vim"
 alias more="less"
 alias m="less "
 alias -g M="| less"
 alias more="less"
 alias m="less "
 alias -g M="| less"
-alias -g W="| wc -l"
+alias -g W="| wc -l | sed 's/ //g'"
 alias mc="mc --nomouse"
 alias sent="mutt -f =sent-\`date '+%y-%m'\`"
 alias zc=~/bin/dc-wrapped.sh
 alias mc="mc --nomouse"
 alias sent="mutt -f =sent-\`date '+%y-%m'\`"
 alias zc=~/bin/dc-wrapped.sh