Skip to content

Commit

Permalink
display savvy run in green
Browse files Browse the repository at this point in the history
Users associate red with an error and think something went wrong.
  • Loading branch information
joshi4 committed Aug 28, 2024
1 parent b4f32c9 commit f5049cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/setup/savvy.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function __savvy_run_pre_exec__() {

function __savvy_run_pre_cmd__() {
if [[ "${SAVVY_CONTEXT}" == "run" ]] ; then
PS1="${orignal_ps1}"$'(%F{red}savvy run %f'" ${SAVVY_RUN_CURR})"" "
PS1="${orignal_ps1}"$'(%F{green}savvy run %f'" ${SAVVY_RUN_CURR})"" "
fi

if [[ "${SAVVY_CONTEXT}" == "run" && "${SAVVY_NEXT_STEP}" -ge "${#SAVVY_COMMANDS}" ]] ; then
Expand Down

0 comments on commit f5049cd

Please sign in to comment.