Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/2] promptinit: typo: RPOMPT -> RPROMPT
- X-seq: zsh-workers 47867
- From: Arseny Maslennikov <ar@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Arseny Maslennikov <ar@xxxxxxxxx>
- Subject: [PATCH 1/2] promptinit: typo: RPOMPT -> RPROMPT
- Date: Mon, 25 Jan 2021 11:16:24 +0300
- Archived-at: <https://zsh.org/workers/47867>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/20210125081625.3193714-1-ar%40cs.msu.ru>
- List-id: <zsh-workers.zsh.org>
---
Functions/Prompts/promptinit | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit
index e27b8779a..5e42ebdd3 100644
--- a/Functions/Prompts/promptinit
+++ b/Functions/Prompts/promptinit
@@ -49,7 +49,7 @@ prompt_preview_safely() {
# This handles all the stuff from the default :prompt-theme cleanup
local +h PS1=$PS1 PS2=$PS2 PS3=$PS3 PS4=$PS4 RPS1=$RPS1 RPS2=$RPS2
- local +h PROMPT=$PROMPT RPROMPT=$RPOMPT RPROMPT2=$RPROMPT2 PSVAR=$PSVAR
+ local +h PROMPT=$PROMPT RPROMPT=$RPROMPT RPROMPT2=$RPROMPT2 PSVAR=$PSVAR
local -a precmd_functions preexec_functions prompt_preview_cleanup
local -aLl +h zle_highlight
@@ -101,7 +101,7 @@ Use prompt -h <theme> for help on specific themes.'
if [[ -z "$prompt_theme[1]" ]]; then
# Not using a prompt theme; save settings
local +h PS1=$PS1 PS2=$PS2 PS3=$PS3 PS4=$PS4 RPS1=$RPS1 RPS2=$RPS2
- local +h PROMPT=$PROMPT RPROMPT=$RPOMPT RPROMPT2=$RPROMPT2 PSVAR=$PSVAR
+ local +h PROMPT=$PROMPT RPROMPT=$RPROMPT RPROMPT2=$RPROMPT2 PSVAR=$PSVAR
local -a precmd_functions preexec_functions
else
trap 'prompt_${prompt_theme[1]}_setup "${(@)prompt_theme[2,-1]}"' 0
--
2.30.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author