Skip to content

Commit

Permalink
bash: add support for setting parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Jun 14, 2024
1 parent 2325d56 commit 81e24bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/setup/bash-preexec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ savvy_run_pre_cmd() {
# space at the end is important
PS1="${orignal_ps1} ${PROMPT_GREEN}done${PROMPT_RESET}"$' \U1f60e '
fi

if [[ "${SAVVY_CONTEXT}" == "run" && "${SAVVY_NEXT_STEP}" -lt "${size}" ]] ; then
savvy internal set-param
fi
}


Expand Down

0 comments on commit 81e24bb

Please sign in to comment.