Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh ignores the arguments on its first command.
- X-seq: zsh-workers 27985
- From: Martin Buchholz <martinrb@xxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxx
- Subject: zsh ignores the arguments on its first command.
- Date: Tue, 1 Jun 2010 14:23:50 -0700
- Cc: Joel Ebel <jbebel@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275427439; bh=BV7lusy2Lcj/n/ISe2uET2GNzDU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=N9w8AjP+cOrDLgPJy8aodZoIm+S+cLm0B8rSfjnXMO+hCb24U3zrnLCOpGjCH+VUR jybigCcbX65E0wOyY7XEg==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:date:message-id:subject:from:to:cc: content-type:x-system-of-record; b=mQ2LLztZu/ldGfWG/J46Z7yST8ajbJw6ROM2ji5nlQAntY5vsUBG4/IX3i1LlGt9Z /UM5gl/pNRP1PTi9PHf+w==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi zsh maintainers,
This is a bug report.
It seems that when the shell is invoked using
zsh -i -c 'COMMAND1; COMMAND2'
then COMMAND1 is executed without its arguments!
$ ssh LUCID /bin/zsh -i -c '/bin/echo 1 2 3; /bin/echo 4 5 6; echo
ZSH_VERSION=${ZSH_VERSION}'
/etc/zsh/zshrc:10: unknown parameter: terminfo
4 5 6
ZSH_VERSION=4.3.10
but it definitely is executed, as you can see here:
$ ssh LUCID /bin/zsh -i -c 'pwd; echo ZSH_VERSION=${ZSH_VERSION}'
/etc/zsh/zshrc:10: unknown parameter: terminfo
/home/martinrb
ZSH_VERSION=4.3.10
That's a pretty serious bug, but should be easy for y'all to fix.
Thanks,
Martin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author