mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 13:01:28 +02:00
45130: _multi_parts: Always pass -f to compadd if given by caller
This commit is contained in:
parent
ed21a7b700
commit
02a33dd071
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2019-12-26 dana <dana@dana.is>
|
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
|
* unposted: Src/utils.c: Fix macro guard missed in previous
|
||||||
commit
|
commit
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ typeset -U tmp1 matches
|
||||||
|
|
||||||
zparseopts -D -a sopts \
|
zparseopts -D -a sopts \
|
||||||
'J+:=group' 'V+:=group' 'x+:=expl' 'X+:=expl' 'P:=opts' 'F:=opts' \
|
'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[@]" )
|
sopts=( "$sopts[@]" "$opts[@]" )
|
||||||
if (( $#matcher )); then
|
if (( $#matcher )); then
|
||||||
|
|
Loading…
Reference in a new issue