Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd, preexec, and supplied prompt themes
- X-seq: zsh-workers 24042
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: precmd, preexec, and supplied prompt themes
- Date: Wed, 31 Oct 2007 07:49:59 -0700
- In-reply-to: <18266.1193828857@thecus>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <DD973F2C-E6A0-4FCA-96F5-6C96701DC677@xxxxxxxxxxxxxxxxxx> <20071012215906.GA8935@mastermind> <071012185005.ZM2921@xxxxxxxxxxxxxxxxxxxxxx> <35490.69.3.191.19.1192241340.squirrel@xxxxxxxxxxxxxxxxx> <071012202721.ZM13638@xxxxxxxxxxxxxxxxxxxxxx> <20071013135858.18e842df.wgscott@xxxxxxxxxxxxxxxxxx> <071013144046.ZM15536@xxxxxxxxxxxxxxxxxxxxxx> <42409.66.167.127.82.1192312408.squirrel@xxxxxxxxxxxxxxxxx> <071013161113.ZM15656@xxxxxxxxxxxxxxxxxxxxxx> <43237.69.3.24.27.1192318777.squirrel@xxxxxxxxxxxxxxxxx> <071013194931.ZM15792@xxxxxxxxxxxxxxxxxxxxxx> <18266.1193828857@thecus>
On Oct 31, 11:07am, Oliver Kiddle wrote:
} Subject: Re: precmd, preexec, and supplied prompt themes
}
} On 13 Oct, Bart wrote:
} > --- promptinit 1 Oct 2006 02:38:52 -0000 1.3
} >
} > + emulate -L zsh
}
} This has broken the prompt_opts feature of promptinit
I think that's a bug in the way those options are initialized, then,
or in "emulate".
Even with -R, options "describing the interactive environment" are
not supposed to be reset, and without -L "only those options likely
to cause portability problems in scripts and functions are altered."
Would someone explain how promptcr, promptsubst and promptpercent
"cause portability problems in scripts and functions"?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author