zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: Still problems RE: PATCH: RE: side effect of "select=long"
@ 2000-05-22 13:52 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-05-22 13:52 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> ...
> 
> bor@itsrm2% zsh -f
> itsrm2% autoload -U compinit; compinit -D
> itsrm2% bindkey -e
> itsrm2% zmodload complist
> itsrm2% zstyle ':completion:*' menu 'select=0' 'select=long-list'
> 
> Try anything simple like 'ls TAB TAB' - NO menu selection whatever, just
> menu completion.

Oops. That test for `=long*' shouldn't keep us from trying the other
`select=...' values.

Bye
 Sven

Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.25
diff -u -r1.25 _main_complete
--- Completion/Core/_main_complete	2000/05/22 12:22:49	1.25
+++ Completion/Core/_main_complete	2000/05/22 13:52:32
@@ -194,7 +194,8 @@
         zmodload -i zsh/complist
         MENUSELECT=0
       fi
-    else
+    fi
+    if [[ "$MENUSELECT" != 0 ]]; then
       sel=( "${(@M)_menu_style:#select*}" )
 
       if (( $#sel )); then

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-22 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-22 13:52 PATCH: Re: Still problems RE: PATCH: RE: side effect of "select=long" Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).