Add recipe to find untracked ~/bin items
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 29 Jul 2022 18:03:23 +0000 (14:03 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 29 Jul 2022 18:03:23 +0000 (14:03 -0400)
Makefile

index 427eaec..4ffe078 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -158,6 +158,10 @@ diff:
        | sort -zr \
        | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=auto ~/% home/%'
 
+.PHONY: diff_bins_untracked
+diff_bins_untracked:
+       ls -1 ~/bin | sort | grep -vf <(ls -1 home/bin | sort)
+
 pull:
        find home -type f -print0 \
        | $(SED) -z 's/^home\///g' \
This page took 0.023736 seconds and 4 git commands to generate.