Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Z-Shell PROMPT
- X-seq: zsh-users 2312
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Grimm <grimm@xxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Z-Shell PROMPT
- Date: Thu, 22 Apr 1999 10:46:13 -0700
- In-reply-to: <Pine.LNX.4.05.9904221239450.972-100000@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.05.9904221239450.972-100000@xxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author