mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
53057: complete glob qualifiers following an equals expansion
This commit is contained in:
parent
678fb68879
commit
6973d1d16f
2 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2024-08-31 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 53057: Completion/Zsh/Context/_equal: complete glob qualifiers
|
||||
following an equals expansion
|
||||
|
||||
* 53052: Completion/X/Command/_setxkbmap: update completion with
|
||||
newer options
|
||||
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
#compdef -equal-
|
||||
|
||||
_path_commands
|
||||
local -a match mbegin mend
|
||||
|
||||
if _have_glob_qual $PREFIX; then
|
||||
compset -p ${#match[1]}
|
||||
compset -S '[^\)\|\~]#(|\))'
|
||||
_globquals
|
||||
else
|
||||
_path_commands
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue