Skip to content

Commit

Permalink
fix: fix bash PROMPT_COMMAND
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 20, 2024
1 parent c404dac commit 45fb5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/setshell/bash.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [ -n "${PROMPT_COMMAND:-}" ]; then
PROMPT_COMMAND="${PROMPT_COMMAND};eval \"$(aqua output-shell)\""
PROMPT_COMMAND="${PROMPT_COMMAND};"'eval "$(aqua output-shell)"'
else
PROMPT_COMMAND="eval \"$(aqua output-shell)\""
PROMPT_COMMAND='eval "$(aqua output-shell)"'
fi

0 comments on commit 45fb5f7

Please sign in to comment.