summaryrefslogtreecommitdiff
path: root/Functions/Prompts/prompt_walters_setup
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2017-08-10 17:16:37 +0200
committerAxel Beckert <abe@deuxchevaux.org>2017-08-10 17:16:37 +0200
commite3b67a8198c852bf6c9db3a0a1a20e87a4e1da74 (patch)
tree8486633f6232f49ea330ab8e036decb5dc3bbf74 /Functions/Prompts/prompt_walters_setup
parentf8edeff2494bf23e2ee29d4c761361b1c878e09d (diff)
parentdc475bfa0ec6cd03789dde3bf28f71e0ea9d5003 (diff)
downloadzsh-e3b67a8198c852bf6c9db3a0a1a20e87a4e1da74.tar.gz
zsh-e3b67a8198c852bf6c9db3a0a1a20e87a4e1da74.zip
Merge tag '5.4.1' into debian
Release 5.4.1.
Diffstat (limited to 'Functions/Prompts/prompt_walters_setup')
-rw-r--r--Functions/Prompts/prompt_walters_setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/Functions/Prompts/prompt_walters_setup b/Functions/Prompts/prompt_walters_setup
index 7948254d8..9fea574d0 100644
--- a/Functions/Prompts/prompt_walters_setup
+++ b/Functions/Prompts/prompt_walters_setup
@@ -14,10 +14,10 @@ EOF
prompt_walters_setup () {
if [[ "$TERM" != "dumb" ]]; then
- PROMPT='%B%(?..[%?] )%b%n@%U%m%u> '
- RPROMPT="%F{${1:-green}}%~%f"
+ PS1='%B%(?..[%?] )%b%n@%U%m%u> '
+ RPS1="%F{${1:-green}}%~%f"
else
- PROMPT="%(?..[%?] )%n@%m:%~> "
+ PS1="%(?..[%?] )%n@%m:%~> "
fi
prompt_opts=(cr percent)