about summary refs log tree commit diff
path: root/Completion/Zsh/Context/_default
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Context/_default')
-rw-r--r--Completion/Zsh/Context/_default2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_default b/Completion/Zsh/Context/_default
index 8176f392c..81744cdef 100644
--- a/Completion/Zsh/Context/_default
+++ b/Completion/Zsh/Context/_default
@@ -19,7 +19,7 @@ _files "$@" && return 0
 # allow completion to handle file names after any equals sign.
 
 if [[ -o magicequalsubst && "$PREFIX" = *\=* ]]; then
-  compstate[parameter]="${words[1]:t}-${PREFIX%%\=*}"
+  compstate[parameter]="${PREFIX%%\=*}"
   compset -P 1 '*='
   _value "$@"
 else