mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
38713: don't add calendar matches when not immediately entering menu selection
This commit is contained in:
parent
2f67cd514f
commit
a22f4ea8ba
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-06-18 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 38713: Completion/Unix/Type/_dates: don't add calendar matches
|
||||
when not immediately entering menu selection
|
||||
|
||||
* 38707: Completion/Zsh/Type/_globquals,
|
||||
Completion/Unix/Type/_files, Completion/Unix/Type/_path_files:
|
||||
strip suffix for glob qualifier completion
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# max-matches-length : maximum number or percentage of lines to use for
|
||||
# completion listing, if both are specified, the
|
||||
# lowest takes precedence.
|
||||
# format : override date format
|
||||
# date-format : override date format
|
||||
|
||||
local -a disp cand expl
|
||||
local userformat format spacer=1 spacing month monstart skip match
|
||||
|
@ -37,6 +37,7 @@ _tags dates || return 0
|
|||
_comp_mesg=yes
|
||||
_description -2V -x dates expl date
|
||||
compadd "${@:/-X/-x}" "$expl[@]" -
|
||||
[[ -z $MENUSELECT && $WIDGET != menu-select ]] && return
|
||||
[[ -n $PREFIX$SUFFIX ]] && return 0
|
||||
(( rows )) || return 0
|
||||
compstate[list]='packed rows'
|
||||
|
|
Loading…
Reference in a new issue