diff --git a/public/environment.nix b/public/environment.nix index 8959cd6..85df43d 100644 --- a/public/environment.nix +++ b/public/environment.nix @@ -67,6 +67,8 @@ in tree1 = "tree -d -L 1"; tree2 = "tree -d -L 2"; tree3 = "tree -d -L 3"; + # https://gist.github.com/amitchhajer/4461043 : Count number of code lines in git repository per user + #git-loc = "git ls-files | while read f; do git blame --line-porcelain "${f}" | grep '^author '; done | sort -f | uniq -ic | sort -n"; grep = "grep --color=auto"; vi = "vim"; };