From a2a21403525e59e47e404a0ae5cc929c9db6cfda Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Fri, 29 Jul 2022 14:03:23 -0400 Subject: [PATCH] Add recipe to find untracked ~/bin items --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 427eaec..4ffe078 100644 --- 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' \ -- 2.20.1