mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02: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
2 changed files with 7 additions and 0 deletions
|
@ -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