From e21060ea341b33bea014665f4043142a29dce525 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 3 Feb 2025 11:11:57 +0100 Subject: [PATCH] Remove search result buffering from project finder --- bin/find-git-project | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/find-git-project b/bin/find-git-project index 004e4dd..babab09 100755 --- a/bin/find-git-project +++ b/bin/find-git-project @@ -3,6 +3,6 @@ root=$1 shift 1 if [ -n "$*" ] -then find $root -type d -name .git | xargs dirname | fzf -1 -q "$*" -else find $root -type d -name .git | xargs dirname | fzf -1 +then find $root -type d -name .git | xargs -L 1 dirname | fzf -1 -q "$*" +else find $root -type d -name .git | xargs -L 1 dirname | fzf -1 fi