From: Roman Neuhauser <neuhauser@mail.cz>
To: zsh-users@sunsite.dk
Subject: _normal:26: bad math expression: operator expected at `0 '
Date: Thu, 25 Apr 2002 16:26:38 +0200 [thread overview]
Message-ID: <20020425142638.GI82912@roman.mobil.cz> (raw)
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
next reply other threads:[~2002-04-25 14:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-25 14:26 Roman Neuhauser [this message]
2002-04-25 14:29 ` Sven Wischnowsky
2002-04-25 15:06 ` Roman Neuhauser
2002-04-25 15:00 ` Peter Stephenson
2002-04-25 15:38 ` Roman Neuhauser
2002-04-25 15:32 ` Peter Stephenson
2002-04-25 15:57 ` Roman Neuhauser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020425142638.GI82912@roman.mobil.cz \
--to=neuhauser@mail.cz \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).