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

Re: zstyle is badly broken as of 20060817



On Aug 20, 10:38pm, Peter Stephenson wrote:
}
} I haven't looked at the effect of list-prompt after being removed.  I
} probably won't get a chance for some weeks.  Anyone else is welcome to
} look at anything.

Turns out this is happening because $LISTPROMPT remains set even after
the style is deleted.  This is presently unavoidable because complist
doesn't get a chance to examine LISTPROMPT until after _main_complete
has exited ... the same reason it's not possible to have both the "do
you wish ..." question and scrolling when you answer "yes".

So to disable list-prompt you have to both remove the style and also
unset LISTPROMPT.



Messages sorted by: Reverse Date, Date, Thread, Author