summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-06-26 11:16:38 +0100
committerPeter Stephenson <pws@zsh.org>2017-06-26 11:16:38 +0100
commitd78761c0030eb58fff9116819583c6669a44a8c6 (patch)
tree333756670dc1e09994d99fabe3a20a33fe4f3d4b /Functions/Prompts
parenta0f33b5a6b062721feecfcd280e5f4adeddfedb7 (diff)
downloadzsh-d78761c0030eb58fff9116819583c6669a44a8c6.tar.gz
zsh-d78761c0030eb58fff9116819583c6669a44a8c6.tar.xz
zsh-d78761c0030eb58fff9116819583c6669a44a8c6.zip
41345: Use consistent prompt variables in prompt themese.
Some more sanity may be needed in this area but this apsect seems
uncontroversial.
Diffstat (limited to 'Functions/Prompts')
-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)