From 46c40a9b5631d58be9e4998cdb26ce29eb8197e2 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 30 May 2023 09:32:22 +0200 Subject: [PATCH] Reindent find project script --- 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 1053830..07a9d84 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 -q "$*" - else find $root -type d -name .git | xargs dirname | fzf +then find $root -type d -name .git | xargs dirname | fzf -q "$*" +else find $root -type d -name .git | xargs dirname | fzf fi