start using GNU stow

add more configurations to the dotfiles directory
This commit is contained in:
2025-05-30 15:22:23 +02:00
parent 5e41320faf
commit 519455fac7
20 changed files with 204 additions and 0 deletions

17
.local/bin/git-leaderboard Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ -z ${1+x} ]; then
echo -e "\033[91mdidn't include a file exstension. (eg. \".cs\")"
exit -1
fi
# get all the files with the file extension
git ls-files | grep -E ".*\\$1" |
# run git blame on each file, which shows the commit for each line
xargs -n 1 git blame --line-porcelain |
# aquire the authors of this output and sort it
grep "^author " | sort |
# count all the unique authors and sort by number
uniq -c | sort -nr