wc -l is really used often
authorSergey Matveev <stargrave@stargrave.org>
Sun, 22 Dec 2019 15:33:10 +0000 (18:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 22 Dec 2019 15:33:10 +0000 (18:33 +0300)
zsh/.zshrc

index 9a783b766cac4515f9de9c232e96754e585c3de1..32125143c1d8dfbca070aeb00a340949d313831a 100644 (file)
@@ -96,6 +96,7 @@ alias Gd="git diff"
 alias Gs="git show"
 alias Gm="git diff --name-only --diff-filter=M"
 alias Gam="git commit --amend"
+alias -g W="| wc -l"
 
 git_common="--oneline --abbrev-commit"
 alias Gl="git log $git_common --graph --decorate=short"