diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-08-31 12:01:33 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-08-31 12:01:33 +0200 |
commit | 6973d1d16f12923d3af5454b24cd1d2a73f4281a (patch) | |
tree | 3bb6a4fea9ac263e3023a2c587b152437a47e94d /Completion | |
parent | 678fb68879e52a7e608dbbb859f98c2f9ff171eb (diff) | |
download | zsh-6973d1d16f12923d3af5454b24cd1d2a73f4281a.tar.gz zsh-6973d1d16f12923d3af5454b24cd1d2a73f4281a.tar.xz zsh-6973d1d16f12923d3af5454b24cd1d2a73f4281a.zip |
53057: complete glob qualifiers following an equals expansion
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Zsh/Context/_equal | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_equal b/Completion/Zsh/Context/_equal index 58a415d56..5cdeea264 100644 --- a/Completion/Zsh/Context/_equal +++ b/Completion/Zsh/Context/_equal @@ -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 |