Skip to content

Commit

Permalink
Set PS2 in PROMPT_COMMAND for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Encephala committed Feb 17, 2024
1 parent c637bc3 commit c3645fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/provision/tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
export GIT_PS1_SHOWSTASHSTATE=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWUPSTREAM=1
export PS2="\[\e[38;5;204m\]>\[\e[00m\] "
# Set PS1
# Function needed to dynamically set exit code
Expand All @@ -104,6 +103,7 @@
fi
PS1="$PS1 $GREEN\H \A $BLUE\w$BRIGHT_PINK\$(__git_ps1)\n$GREEN>$NORMAL "
PS2="$BRIGHT_PINK>$NORMAL "
}
export PROMPT_COMMAND=__prompt_command
Expand Down

0 comments on commit c3645fa

Please sign in to comment.