mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
42984: Fix argument pass-through to compadd
This commit is contained in:
parent
63e09b338b
commit
6b4e78dce6
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-06-11 dana <dana@dana.is>
|
||||
|
||||
* 42984: dana: Completion/Unix/Type/_files,
|
||||
Completion/Unix/Type/_object_files: fix argument pass-through to compadd
|
||||
|
||||
2018-06-10 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||
|
||||
* 42978: dana: Completion/Darwin/Command/_pbcopy: fix small bug
|
||||
|
|
|
@ -121,7 +121,7 @@ for def in "$pats[@]"; do
|
|||
done
|
||||
fi
|
||||
else
|
||||
_path_files "$expl[@]" -g "$pat" "$opts[@]" && ret=0
|
||||
_path_files -g "$pat" "$opts[@]" "$expl[@]" && ret=0
|
||||
fi
|
||||
done
|
||||
(( ret )) || break
|
||||
|
|
|
@ -9,4 +9,4 @@ __object_file() {
|
|||
$REPLY = (core*|*.core) ]]
|
||||
}
|
||||
|
||||
_files -g '*(-.e,__object_file,)'
|
||||
_files -g '*(-.e,__object_file,)' "$@" "${(@)expl}"
|
||||
|
|
Loading…
Reference in a new issue