From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27905 invoked from network); 25 Apr 2002 14:12:06 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Apr 2002 14:12:06 -0000 Received: (qmail 24242 invoked by alias); 25 Apr 2002 14:11:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4860 Received: (qmail 24231 invoked from network); 25 Apr 2002 14:11:46 -0000 X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mail.cz using -f Date: Thu, 25 Apr 2002 16:26:38 +0200 From: Roman Neuhauser To: zsh-users@sunsite.dk Subject: _normal:26: bad math expression: operator expected at `0 ' Message-ID: <20020425142638.GI82912@roman.mobil.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.26i Hi there, after about six months of using about 0.01% of the goodies zsh offers, I decided it was time to checkout compinit. The exploration ended up before it started with an error I don't know what to think about (I can read some basic shell scripting, but that's about it). Also note that I've searched the archives, but only found unrelated messages. roman@roman ~ > autoload -U compinit 101:0 roman@roman ~ > compinit 102:0 roman@roman ~ > tar xzf sub^I 103:0 _normal:26: bad math expression: operator expected at `0 ' At this moment, I'm supposed to be impressed. :) roman@roman ~ > tar xzf subversion-r1587.tar.gz 103:0 ... roman@roman ~ > cd /usr/local/share/zsh/4.0.4/functions 106:0 roman@roman zsh/4.0.4/functions > cat -n _normal|grep -EC3 '^ +26' 107:0 23 24 return ret 25 else 26 if (( $+builtins[$command] + $+functions[$command] )); then 27 cmd1="$command" 28 curcontext="${curcontext%:*:*}:${cmd1}:" 29 elif [[ "$command[1]" = '=' ]]; then roman@roman zsh/4.0.4/functions > 108:0 It does that for ^I completion as well. What's up? -- FreeBSD 4.4-STABLE 4:07PM up 10 days, 5:20, 14 users, load averages: 0.08, 0.20, 0.15