about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 11:28:29 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 11:28:29 +0000
commit91f40b975f17242cfcdb8b9b2166033b7f02f102 (patch)
tree072e17fc4c6ef6307764fbdabafc2d112115f637 /Completion/Core
parentc955b76cc54a8db00d7d9708dfa405685ab63675 (diff)
downloadzsh-91f40b975f17242cfcdb8b9b2166033b7f02f102.tar.gz
zsh-91f40b975f17242cfcdb8b9b2166033b7f02f102.tar.xz
zsh-91f40b975f17242cfcdb8b9b2166033b7f02f102.zip
be more careful when decided if to insert tabs instead of completing (11493)
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_main_complete2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index 19295a991..636098c04 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -41,7 +41,7 @@ typeset -U _lastdescr _comp_ignore
 if [[ "$compstate[insert]" = tab* && "$WIDGET" != *list* ]]; then
   { zstyle -T ":completion:${curcontext}:" insert-tab &&
     { [[ "$curcontext" != :* || -z "$compstate[vared]" ]] ||
-        zstyle -t ":completion:vared${curcontext}:" insert-tab } } && return 1
+        zstyle -t ":completion:vared${curcontext}:" insert-tab } } && return 0
 
   compstate[insert]="${compstate[insert]//tab /}"
 fi