zsh-workers
 help / color / mirror / code / Atom feed
* prompt redhat and suse change promptsubst
@ 2004-05-20 21:41 Matthias Kopfermann
  2004-05-21  8:40 ` Matthias Kopfermann
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Kopfermann @ 2004-05-20 21:41 UTC (permalink / raw)
  To: zsh-workers

hi all!

What's the reason for unsetting promptsubst with 
prompt redhat or with
prompt suse after doing autoload promptinit && promptinit.
Both unset my existing setopt promptsubst.

	Matthias

ps: i, too, have had current 'job table full' -message again with latest
    cvs-zsh.
    this happens for at least 8 weeks, but i still cannot find the reason!
    This here is a "me, too!"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: prompt redhat and suse change promptsubst
  2004-05-20 21:41 prompt redhat and suse change promptsubst Matthias Kopfermann
@ 2004-05-21  8:40 ` Matthias Kopfermann
  2004-05-21 16:56   ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Kopfermann @ 2004-05-21  8:40 UTC (permalink / raw)
  To: Zsh-Workers

Am Donnerstag, dem 20. Mai 2004 um 23:41 Uhr, Matthias Kopfermann:
> What's the reason for unsetting promptsubst with 
> prompt redhat or with
> prompt suse after doing autoload promptinit && promptinit.
> Both unset my existing setopt promptsubst.

Perhaps I should add:
`setopt promptsubst' does affect the _right_ prompt which is
not set by `prompt redhat' nor with `prompt suse'.
Plus:
[knoppix@NomenEstOmen ~]\$
                        ^ on purpose?

A friend of mine told me that the redhat-defaultprompt of
_bash_ does change when in the home-directory of the user.
it doesn't show the ~ then but shows the name of the user.
I cannot verify that one using debian here.

        Matthias


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: prompt redhat and suse change promptsubst
  2004-05-21  8:40 ` Matthias Kopfermann
@ 2004-05-21 16:56   ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2004-05-21 16:56 UTC (permalink / raw)
  To: Zsh-Workers

Matthias Kopfermann wrote:
> What's the reason for unsetting promptsubst with 
> prompt redhat or with
> prompt suse after doing autoload promptinit && promptinit.

I don't think it's intentional, only that promptinit is fairly
simplistic about setting the prompt options.  It only knows about one
set of options which will work.  It doesn't know about options which are
irrelevant and should be left alone.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-21 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 21:41 prompt redhat and suse change promptsubst Matthias Kopfermann
2004-05-21  8:40 ` Matthias Kopfermann
2004-05-21 16:56   ` Peter Stephenson

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).