Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd, preexec, and supplied prompt themes
- X-seq: zsh-workers 24043
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: precmd, preexec, and supplied prompt themes
- Date: Wed, 31 Oct 2007 08:12:59 -0700
- In-reply-to: <071031074959.ZM8668@xxxxxxxxxxxxxxxxxxxxxx>
- 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> <071031074959.ZM8668@xxxxxxxxxxxxxxxxxxxxxx>
On Oct 31, 7:49am, Bart Schaefer wrote:
}
} Even with -R, options "describing the interactive environment" are
} not supposed to be reset, and without -L "only those options likely
That should say "without -R" not -L.
In any case it appears to be OK to remove that one "emulate".
--- ../zsh-forge/current/Functions/Prompts/promptinit 2007-10-14
09:32:27.000000000 -0700
+++ Functions/Prompts/promptinit 2007-10-31 08:07:48.000000000 -0700
@@ -166,13 +166,12 @@
}
prompt () {
- emulate -L zsh
local prompt_opts
set_prompt "$@"
(( $#prompt_opts )) &&
setopt noprompt{bang,cr,percent,subst} prompt${^prompt_opts[@]}
true
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author