zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: When RPROMPT != RPS1
Date: Fri, 23 Jun 2017 20:37:37 -0700	[thread overview]
Message-ID: <170623203737.ZM27250@torch.brasslantern.com> (raw)
In-Reply-To: <m237aqlb6q.fsf@Daniels-Air.fritz.box>

On Jun 23, 10:07pm, Daniel Tameling wrote:
}
} Maybe something along the lines of what I included below (which seems to
} solve the problem on my system). However, this breaks the bart theme as
} it has a mode of operation where one can set the right prompt before
} activating the theme.

Not just the right prompt, but the PS1 prompt as well.

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.

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.


  reply	other threads:[~2017-06-24  3:36 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 [this message]
2017-06-24 20:09           ` Daniel Tameling
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=170623203737.ZM27250@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).