about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-08-31 12:01:33 +0200
committerOliver Kiddle <opk@zsh.org>2024-08-31 12:01:33 +0200
commit6973d1d16f12923d3af5454b24cd1d2a73f4281a (patch)
tree3bb6a4fea9ac263e3023a2c587b152437a47e94d /Completion
parent678fb68879e52a7e608dbbb859f98c2f9ff171eb (diff)
downloadzsh-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/_equal10
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