From: Arseny Maslennikov <ar@cs.msu.ru>
To: zsh-workers@zsh.org
Cc: Arseny Maslennikov <ar@cs.msu.ru>
Subject: [PATCH 1/2] promptinit: typo: RPOMPT -> RPROMPT
Date: Mon, 25 Jan 2021 11:16:24 +0300 [thread overview]
Message-ID: <20210125081625.3193714-1-ar@cs.msu.ru> (raw)
---
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
next reply other threads:[~2021-01-25 8:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 8:16 Arseny Maslennikov [this message]
2021-01-25 8:16 ` [PATCH 2/2] promptinit: Fix prompt cleanups Arseny Maslennikov
2021-01-25 8:23 ` Roman Perepelitsa
2021-01-25 12:50 ` Arseny Maslennikov
2021-02-18 13:03 ` (ping) " Arseny Maslennikov
2021-02-20 0:50 ` dana
2021-02-20 19:01 ` Bart Schaefer
2021-02-22 18:29 ` Bart Schaefer
2021-02-22 22:24 ` Arseny Maslennikov
2021-02-22 22:28 ` [PATCH v2] " Arseny Maslennikov
2021-02-22 23:50 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210125081625.3193714-1-ar@cs.msu.ru \
--to=ar@cs.msu.ru \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).