about summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-01-31 14:44:06 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-01-31 14:44:06 +0000
commit5d11abfa3bf4f3a133f654c730cde752939376a1 (patch)
tree25df99e59450c832a708cb3ca9b46df546f466e7 /Src/params.c
parentb1dadd97d34d5e7b4cde3626887bf3f0099ef4ce (diff)
downloadzsh-5d11abfa3bf4f3a133f654c730cde752939376a1.tar.gz
zsh-5d11abfa3bf4f3a133f654c730cde752939376a1.tar.xz
zsh-5d11abfa3bf4f3a133f654c730cde752939376a1.zip
16492: add RPROMPT2 variable for right prompts in multi-line commands
Diffstat (limited to 'Src/params.c')
-rw-r--r--Src/params.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c
index 8db358b07..ba4776423 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -65,6 +65,7 @@ char *argzero,		/* $0           */
      *prompt4,		/* $PROMPT4     */
      *readnullcmd,	/* $READNULLCMD */
      *rprompt,		/* $RPROMPT     */
+     *rprompt2,		/* $RPROMPT2    */
      *sprompt,		/* $SPROMPT     */
      *wordchars,	/* $WORDCHARS   */
      *zsh_name;		/* $ZSH_NAME    */
@@ -193,12 +194,14 @@ IPDEF7("OPTARG", &zoptarg),
 IPDEF7("NULLCMD", &nullcmd),
 IPDEF7("POSTEDIT", &postedit),
 IPDEF7("READNULLCMD", &readnullcmd),
-IPDEF7("RPROMPT", &rprompt),
 IPDEF7("PS1", &prompt),
+IPDEF7("RPS1", &rprompt),
+IPDEF7("RPROMPT", &rprompt),
 IPDEF7("PS2", &prompt2),
+IPDEF7("RPS2", &rprompt2),
+IPDEF7("RPROMPT2", &rprompt2),
 IPDEF7("PS3", &prompt3),
 IPDEF7("PS4", &prompt4),
-IPDEF7("RPS1", &rprompt),
 IPDEF7("SPROMPT", &sprompt),
 IPDEF7("0", &argzero),