Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: When RPROMPT != RPS1
- X-seq: zsh-workers 41357
- From: Daniel Tameling <tamelingdaniel@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: When RPROMPT != RPS1
- Date: Sat, 24 Jun 2017 22:09:35 +0200
- Cc:
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Qe8EuIO+on5F100nMkt19fafrjcRS2YC7Y+I3Zp4mBw=; b=NJQYzT/TRe13v2Jf/HvqNUVvLAvR1PpNFJt3DC3ZhkMLhtRKShe6yw8ea/B00J9YBK 06e0+tZoMFvX9vwsoILotYxan9DXh88EQrqQV5qqTWCYk0e1beEvPDkDe6ZWOS89J+GA LSY7JSy+qraW34wV2lAjI7YxJcSVSIPQYqZZZU0QayszRE+rXgH8qO5tbrv7LWWTDP/8 UqepMEbpw4lTdM8JaK61Bxk94PkF9T0jk9zkRToZAe2isneq5sX8j/l4hNFDTLPvPib+ Dv3reBq/UJs/GXB8qVjx3XIHVN0DUGnc76L7uw3DdmGo5JV2zzH54qPvfWHHSeg52eT0 h5eQ==
- In-reply-to: <170623203737.ZM27250@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CA+rB6GJnFZDR6NQO1CwZx6d=QiD2=8nC3vKrNbm=am0s1SeZpA@mail.gmail.com> <CA+rB6GJmWTeRgQRr7OabGiENq=zWFOKHMGw6i43uuw82TrD_oQ@mail.gmail.com> <CGME20170621171640epcas3p3d782a0076de53dc91f1b78d3ec471af5@epcas3p3.samsung.com> <170621101645.ZM9838@torch.brasslantern.com> <20170622101735.4ebebd11@pwslap01u.europe.root.pri> <m237aqlb6q.fsf@Daniels-Air.fritz.box> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author