Closed
Description
After cd fo<tab><enter>
, where cd fo<tab>
displays multiple options with " -- directory in cdpath --" the syntax highlighting is not reset, and the "cd: no such file or directory: fo" is displayed in grey, just like / similar to the (new?) part that highlights the already typed text.
This only happens after the first call to this in a new shell, afterwards it works.
But there are differences, e.g. with cd b<tab><enter>
it seemed to be triggered always?!
Hopefully this is enough to reproduce, otherwise I'd be happy to bisect and/or provide more information.
% setopt
alwaystoend
autocd
autopushd
completeinword
correct
extendedglob
extendedhistory
noflowcontrol
noglobalrcs
globcomplete
histexpiredupsfirst
histignoredups
histignorespace
incappendhistorytime
interactive
interactivecomments
longlistjobs
mailwarning
monitor
numericglobsort
printeightbit
pushdignoredups
pushdminus
pushdsilent
rcexpandparam
shinstdin
zle