dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit f9c50d079f374e0622f9ab0d0729ea5f5d1ad66c
parent e3080a31fc9f0da08580635cfd86c74ffbebab08
Author: hhvn <dev@hhvn.uk>
Date:   Sat, 19 Jun 2021 18:47:16 +0100

.c/g/find: optimize

Diffstat:
M.config/git/find | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.config/git/find b/.config/git/find @@ -1,6 +1,7 @@ #!/bin/sh -find=$(find . "$@" | sed 's~^./~~') +export IFS=$(printf "\n\t") git=$(git ls-files) +find=$(find $git "$@" 2>/dev/null | sed 's~^./~~') printf "$find\n$git\n" | sort | uniq -c | awk '$1 > 1 {$1=""; print}' | sed 's/^[[:space:]]*//'