Skip to content

Commit 4aa17ba

Browse files
committed
Support installed Black Belt system prompt path
1 parent 011fb18 commit 4aa17ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎bin/blackbelt-engine.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if [[ ! -f "$PROMPT_FILE" ]]; then
1313
PROMPT_FILE="$ROOT/black.belt/sharp/system.prompt"
1414
fi
1515

16+
if [[ ! -f "$PROMPT_FILE" && -f "/usr/share/blackbelt/sharp/system.prompt" ]]; then
17+
PROMPT_FILE="/usr/share/blackbelt/sharp/system.prompt"
18+
fi
19+
1620
if [[ ! -f "$PROMPT_FILE" ]]; then
1721
echo "Black Belt system prompt not found: $PROMPT_FILE" >&2
1822
exit 2

0 commit comments

Comments
 (0)