mirror of
https://github.com/zsh-users/zsh
synced 2024-09-06 08:25:56 +00:00
Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide with directory names when completing
This commit is contained in:
parent
e4557ef852
commit
8756cc6add
|
@ -1,3 +1,9 @@
|
|||
2022-05-30 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* Marlon Richert: 50307 (cf. PWS 50205):
|
||||
Completion/Zsh/Type/_suffix_alias_files: suffix aliases should not
|
||||
collide with directory names when completing
|
||||
|
||||
2022-05-26 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 50287: configure.ac: Turn on use of getcwd by default. Leave
|
||||
|
|
|
@ -16,6 +16,7 @@ else
|
|||
tmpa=(${(kq)saliases})
|
||||
pat="*.(${(kj.|.)tmpa})"
|
||||
fi
|
||||
[[ -o autocd ]] || pat+='(#q^/)'
|
||||
|
||||
# _wanted is called for us by _command_names
|
||||
_path_files "$@" -g $pat
|
||||
|
|
Loading…
Reference in a new issue