about summary refs log tree commit diff
path: root/Completion/Zsh/Context/_equal
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Context/_equal')
-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