Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Reduce forking overhead in precmd()



>>>>> "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