Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion of dates
On Jul 8, 12:09am, Oliver Kiddle wrote:
} Subject: Re: PATCH: completion of dates
}
} Bart wrote:
} > If one menu-selects "before" or "since" and then immediately re-enters
} > menu selection to choose the number of days, the +/- is removed from
} > the line and you return to completing exact dates (with "sense" group
} > available as before).
}
} I can't reproduce this problem at all. Even from zsh -f, it works for
} me. So either I've misunderstood your steps or there's something in your
} setup that it isn't allowing for.
I'm doing
zsh -f
autoload -U compinit;compinit -D
find . -ctime <ESC x>menu-select<RET>
<select "before"><RET><ESC z><TAB>
Where that final TAB can be any movement in the menu (arrow keys, etc.).
As I said this is probably menu-selection in general -- leaving and then
entering again without passing through "normal" completion picks up the
old selection where it left off instead of starting a new selection?
} If you use a binding such as the following when selecting before/since,
} does it work?
} bindkey -M menuselect "/" accept-and-infer-next-history
Yes, if I add that binding and then do
<select "before"><RET><ESC z>/
and/or simply omit the <RET><ESC z> and immediately type /, the selection
does advance to the numbers and the "sense" group disappears.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author