mirror of
https://github.com/zsh-users/zsh
synced 2024-09-05 16:03:40 +00:00
45130: _multi_parts: Always pass -f to compadd if given by caller
This commit is contained in:
parent
ed21a7b700
commit
02a33dd071
|
@ -1,5 +1,8 @@
|
|||
2019-12-26 dana <dana@dana.is>
|
||||
|
||||
* 45130: Completion/Base/Utility/_multi_parts: Always pass -f
|
||||
to compadd if given by caller
|
||||
|
||||
* unposted: Src/utils.c: Fix macro guard missed in previous
|
||||
commit
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ typeset -U tmp1 matches
|
|||
|
||||
zparseopts -D -a sopts \
|
||||
'J+:=group' 'V+:=group' 'x+:=expl' 'X+:=expl' 'P:=opts' 'F:=opts' \
|
||||
S: r: R: q 1 2 o+: n f 'M+:=matcher' 'i=imm'
|
||||
S: r: R: q 1 2 o+: n 'f=opts' 'M+:=matcher' 'i=imm'
|
||||
|
||||
sopts=( "$sopts[@]" "$opts[@]" )
|
||||
if (( $#matcher )); then
|
||||
|
|
Loading…
Reference in a new issue