aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-ai.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-ai.sh b/scripts/install-ai.sh
index d30ab84..8993f0d 100755
--- a/scripts/install-ai.sh
+++ b/scripts/install-ai.sh
@@ -63,7 +63,7 @@ if [ -z "$project" ]; then
find "$HOME/code" "$HOME/projects" -maxdepth 2 -mindepth 1 -type d -name .git 2>/dev/null \
| sed 's|/\.git$||' \
| while read -r p; do
- [ ! -e "$p/.ai" ] && echo "$p"
+ if [ ! -e "$p/.ai" ]; then echo "$p"; fi
done \
| sort \
| fzf --prompt="Target project (without .ai/)> "