diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Prompts/prompt_walters_setup | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index ca99a6a7b..5057d4026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-06-26 Peter Stephenson <p.stephenson@samsung.com> + + * 41345: Functions/Prompts/prompt_walters_setup: use consistent + versions of the prompt variables in prompt themes. + 2017-06-22 Peter Stephenson <p.stephenson@samsung.com> * Axel: 41342: conigure.ac: check for yodl version 4. 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) |