From: Daniel Tameling <tamelingdaniel@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: When RPROMPT != RPS1
Date: Sat, 24 Jun 2017 22:09:35 +0200 [thread overview]
Message-ID: <m2y3sh4074.fsf@Daniels-Air.fritz.box> (raw)
In-Reply-To: <170623203737.ZM27250@torch.brasslantern.com>
> The reason there is "prompt -p" is so you can see what a prompt will look
> like without changing whatever you have already or needing to cycle the
> themes yourself.
If I try out a prompt, I like to execute some commands and see how that
affects the prompt, and with "prompt -p" that's not possible. So with
the current setup, I have to be careful which prompt variables are
changed, and then revert the changes. In principle, this is no big deal
but it would be nicer if there was an automatic solution.
> The better thing to do, I think, is either to add "prompt_default_setup"
> or expand "prompt_off_setup" so that there's an explicit command to put
> things back the way they were. Currently "prompt off" restores only the
> PS1 and PS2 settings.
I like both ideas.
Best,
Daniel
next prev parent reply other threads:[~2017-06-24 20:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-20 17:08 Jim
2017-06-20 18:22 ` Jim
2017-06-21 17:16 ` Bart Schaefer
2017-06-22 9:17 ` Peter Stephenson
2017-06-23 20:07 ` Daniel Tameling
2017-06-24 3:37 ` Bart Schaefer
2017-06-24 20:09 ` Daniel Tameling [this message]
2017-07-28 2:53 ` Bart Schaefer
2017-07-31 16:24 ` Jim
2017-07-31 18:33 ` 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=m2y3sh4074.fsf@Daniels-Air.fritz.box \
--to=tamelingdaniel@gmail.com \
--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).