feat(rc): Fix prompt choice

This commit is contained in:
2026-07-16 18:47:44 +02:00
parent 76ce8a4758
commit 7e007b5b0d
+8 -1
View File
@@ -2,7 +2,14 @@
# Customize the prompt # Customize the prompt
USE_PROMPT=powerline-go MY_PROMPTS="powerline-go starship"
for prompt in $MY_PROMPTS; do
if (command -v "$prompt" &>/dev/null); then
USE_PROMPT="$prompt"
break
fi
done
case "$USE_PROMPT" in case "$USE_PROMPT" in