Close #100 PR: PURE_PROMPT_SYMBOL added.

This commit is contained in:
Kanstantsin Kamkou
2014-12-31 13:39:05 +07:00
committed by Sindre Sorhus
parent ea12ed343b
commit f38e463b3c
2 changed files with 5 additions and 1 deletions

View File

@@ -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 "$@"