Skip to content

Commit

Permalink
setup/bash-preexec.sh: tell users how to exit savvy run shell on comp…
Browse files Browse the repository at this point in the history
…letion
  • Loading branch information
joshi4 committed Jun 21, 2024
1 parent bc4075b commit 80ad343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/setup/bash-preexec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ savvy_run_pre_cmd() {

if [[ "${SAVVY_CONTEXT}" == "run" && "${SAVVY_NEXT_STEP}" -ge "${size}" ]] ; then
# space at the end is important
PS1="${orignal_ps1} ${PROMPT_GREEN}done${PROMPT_RESET}"$' \U1f60e '
PS1="${orignal_ps1}\n(${PROMPT_GREEN}done${PROMPT_RESET}"$' \U1f60e '"${PROMPT_BOLD}${SAVVY_RUN_CURR}${PROMPT_RESET})${PROMPT_GREEN}[exit/ctrl+d to exit]${PROMPT_RESET} "
fi

if [[ "${SAVVY_CONTEXT}" == "run" && "${SAVVY_NEXT_STEP}" -lt "${size}" ]] ; then
Expand Down

0 comments on commit 80ad343

Please sign in to comment.