Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: code completition / cannot delete characters
- X-seq: zsh-users 11289
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: code completition / cannot delete characters
- Date: Sun, 11 Mar 2007 09:57:34 -0700
- In-reply-to: <848292410703110433k2506bd23qe6afd9529e189701@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <52211927-A3E8-4E51-8735-961A3BE83BB1@xxxxxxxxxxxxxxxxxx> <4916CF2F-0DA8-478B-96DC-B6154C90D98C@xxxxxxxxxxxxxxxxxx> <45F1BFB1.3090801@xxxxxxxxxx> <DFEC4BD6-E1D4-4D97-9B6E-EADFC65C5A60@xxxxxxxxxxxxxxxxxx> <45F1F7F7.8040305@xxxxxxxxxx> <DEA885AD-706C-432A-A32B-C4037829849F@xxxxxxxxxxxxxxxxxx> <070310091540.ZM9599@xxxxxxxxxxxxxxxxxxxxxx> <B174F289-247D-4E58-A33D-8EF354B5891B@xxxxxxxxxxxxxxxxxx> <070310162939.ZM10015@xxxxxxxxxxxxxxxxxxxxxx> <20070311005534.GO18816@xxxxxxxxxxxxxxx> <848292410703110433k2506bd23qe6afd9529e189701@xxxxxxxxxxxxxx>
On Mar 11, 12:33pm, Anupam Srivastava wrote:
}
} Sorry for this newb question. What else should one do if not export
} PS1. I am exporting PROMPT and RPROMPT in my ~/.zshrc
It's quite correct to assign a value to PROMPT et al. in ~/.zshrc.
Just don't mark it as "export".
The use of "export PS1" is sensible in the old Bourne shell and in a
strictly POSIX shell, because there is no file that is read by every
interactive shell (only ~/.profile read by login shells). It doesn't
make sense in bash or zsh, because ~/.*shrc can set it and the various
replacements (like zsh's %m and bash's \h for the machine name) are not
compatible anyway, if you happen to start up some other shell.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author