Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: code completition / cannot delete characters
- X-seq: zsh-users 11292
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: code completition / cannot delete characters
- Date: Sun, 11 Mar 2007 22:35:46 +0100
- In-reply-to: <45F46A26.1000909@xxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.19.2-suspend2+ipw2200 i686
- References: <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> <070311095734.ZM20374@xxxxxxxxxxxxxxxxxxxxxx> <45F46A26.1000909@xxxxxxxxxx>
(Micah, sorry for sending this to you in private before)
Micah Cowan <micah@xxxxxxxxxx>:
> Bart Schaefer wrote:
> >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).
>
> I can't speak to the original Bourne shell, but a strictly POSIX shell
> still has "export ENV=~/.shrc" as an option, which would seem preferable.
Yes, that is true.
I think $ENV can be safely exported in a profile file (such as
/etc/profile), because zsh doesn't look at $ENV for a file to source,
unless started as sh (or ksh). AFAIK bash does the same.
The old bourne shell didn't look at $ENV, AFAIK.
Only /etc/profile and ~/.profile.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author