Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion at beginning of line
- X-seq: zsh-workers 11967
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Tanaka Akira <akr@xxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: completion at beginning of line
 
- Date: Sun, 18 Jun 2000 16:00:01 +0000
 
- In-reply-to: <hvog0qb72qf.fsf@xxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <hvog0qb72qf.fsf@xxxxxxxxxxxxxxx>
 
On Jun 18,  6:33pm, Tanaka Akira wrote:
} Subject: completion at beginning of line
}
} _main_complete:52: command not found: no
} 
} Hm.  Why?
Sven typo in 11873.
Index: Completion/Core/_main_complete
===================================================================
@@ -49,7 +49,7 @@
 fi
 
 if [[ "$compstate[insert]" = tab* ]]; then
-  { "$tmp" = (|[[:blank:]]*)(yes|true|on|1)(|[[:blank:]]*) &&
+  { [[ "$tmp" = (|[[:blank:]]*)(yes|true|on|1)(|[[:blank:]]*) ]] &&
     { [[ "$curcontext" != :* || -z "$compstate[vared]" ]] ||
         zstyle -t ":completion:vared${curcontext}:" insert-tab } } && return 0
 
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author