Close #100 PR: PURE_PROMPT_SYMBOL added.
This commit is contained in:
committed by
Sindre Sorhus
parent
ea12ed343b
commit
f38e463b3c
2
pure.zsh
2
pure.zsh
@@ -121,7 +121,7 @@ prompt_pure_setup() {
|
||||
[[ $UID -eq 0 ]] && prompt_pure_username='%F{white}%n%F{242}@%m '
|
||||
|
||||
# prompt turns red if the previous command didn't exit with 0
|
||||
PROMPT='%(?.%F{magenta}.%F{red})❯%f '
|
||||
PROMPT="%(?.%F{magenta}.%F{red})${PURE_PROMPT_SYMBOL:-❯}%f "
|
||||
}
|
||||
|
||||
prompt_pure_setup "$@"
|
||||
|
||||
Reference in New Issue
Block a user