Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Reduce forking overhead in precmd()
- X-seq: zsh-users 5363
- From: Paul Lew <paullew@xxxxxxxxx>
- To: Clint Adams <clint@xxxxxxx>
- Subject: Re: Reduce forking overhead in precmd()
- Date: Wed, 18 Sep 2002 18:25:40 -0700
- Cc: zsh-users@xxxxxxxxxxxxxx
- In-reply-to: <20020918224754.GC22538@xxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <15752.65212.28904.60591@xxxxxxxxxxxxxxxxxxxxxxx> <20020918224754.GC22538@xxxxxxxx>
>>>>> "Clint" == Clint Adams <clint@xxxxxxx> writes:
Clint> You could do something like:
Clint> [[ -n ${${(M)${$(cleartool catcs)}:#*time*}} ]] &&
Clint> RPROMPT="%S f %s %$RPROMPT"
That works, however, it turns out that the weakiest link is the
'cleartool catcs' command and optimized out grep did not help much.
Now I have moved this section into periodic function and the result is
much better. Thanks!!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author