about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-02 12:52:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-02 12:52:02 +0000
commit084cbf5ee0f423bba00c6f0bc9ba622286d71f33 (patch)
tree0961f703acb27af022d2635858dbe25af4a789ea /Completion
parentcb3d3b0c9a6e3d707cf5bae03ea1cefee2a1a9d3 (diff)
downloadzsh-084cbf5ee0f423bba00c6f0bc9ba622286d71f33.tar.gz
zsh-084cbf5ee0f423bba00c6f0bc9ba622286d71f33.tar.xz
zsh-084cbf5ee0f423bba00c6f0bc9ba622286d71f33.zip
zsh-users/7100: fix completion of =file when noequals is set
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Core/_main_complete2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Core/_main_complete b/Completion/Base/Core/_main_complete
index b231b994d..5712a9284 100644
--- a/Completion/Base/Core/_main_complete
+++ b/Completion/Base/Core/_main_complete
@@ -57,7 +57,7 @@ fi
 # Special completion contexts after `~' and `='.
 
 if [[ -z "$compstate[quote]" ]]; then
-  if compset -P 1 '='; then
+  if [[ -o equals ]] && compset -P 1 '='; then
     compstate[context]=equal
   elif [[ "$PREFIX" != */* && "$PREFIX[1]" = '~' ]]; then
     compset -p 1