zsh-users
 help / color / mirror / code / Atom feed
* Z-Shell PROMPT
@ 1999-04-22 10:42 Oliver Grimm
  1999-04-22 17:46 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Grimm @ 1999-04-22 10:42 UTC (permalink / raw)
  To: zsh-users


I recently upgraded my Linux OS, and so also got from Z-Shell version
2.4 beta to version 3.0.
Now, the changing of the prompt does not work anymore.
It's always set to prompt='%n@%m:/ihpuser/u7/grimm > ',
even if I change it with export PROMPT.
Why is that ?

Regards,	Oliver Grimm.


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

* Re: Z-Shell PROMPT
  1999-04-22 10:42 Z-Shell PROMPT Oliver Grimm
@ 1999-04-22 17:46 ` Bart Schaefer
  1999-04-23 11:31   ` Oliver Grimm
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 1999-04-22 17:46 UTC (permalink / raw)
  To: Oliver Grimm, zsh-users

On Apr 22, 12:42pm, Oliver Grimm wrote:
} Subject: Z-Shell PROMPT
}
} I recently upgraded my Linux OS, and so also got from Z-Shell version
} 2.4 beta to version 3.0.
} Now, the changing of the prompt does not work anymore.
} It's always set to prompt='%n@%m:/ihpuser/u7/grimm > ',
} even if I change it with export PROMPT.

In zsh the parameters prompt, PROMPT, and PS1 are all synonyms -- if any
of them is changed, the others are as well.  Depending on how you start
zsh, a value for PS1 may be getting exported into the environment after
your setting of PROMPT.  For example, the startup files for the bash
shell often export a PS1 setting.

Which Linux distribution are you using?  Did you install zsh from an RPM?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* Re: Z-Shell PROMPT
  1999-04-22 17:46 ` Bart Schaefer
@ 1999-04-23 11:31   ` Oliver Grimm
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Grimm @ 1999-04-23 11:31 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-users



> } Subject: Z-Shell PROMPT
> }
> } I recently upgraded my Linux OS, and so also got from Z-Shell version
> } 2.4 beta to version 3.0.
> } Now, the changing of the prompt does not work anymore.
> } It's always set to prompt='%n@%m:/ihpuser/u7/grimm > ',
> } even if I change it with export PROMPT.
> 
> In zsh the parameters prompt, PROMPT, and PS1 are all synonyms -- if any
> of them is changed, the others are as well.  Depending on how you start
> zsh, a value for PS1 may be getting exported into the environment after
> your setting of PROMPT.  For example, the startup files for the bash
> shell often export a PS1 setting.
> 
> Which Linux distribution are you using?  Did you install zsh from an RPM?

I am using SUSE LINUX 6.0, installed from RPM. I give the export PROMPT
command expicitly in my .zshrc, nothing is coming afterwards anymore,
so it should be the last setting of the PROMPT. Even if I give PROMPT
interactively, it does not change.

- Oliver.


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

end of thread, other threads:[~1999-04-23 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-22 10:42 Z-Shell PROMPT Oliver Grimm
1999-04-22 17:46 ` Bart Schaefer
1999-04-23 11:31   ` Oliver Grimm

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