From: shawn wilson <ag4ve.us@gmail.com>
To: Aaron Schrab <aaron@schrab.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: script help
Date: Sat, 8 Dec 2012 10:43:39 -0500 [thread overview]
Message-ID: <CAH_OBidN=qJit_VyF0_nATNms=M=vKMkWjq3sUgWe+9OrnwngA@mail.gmail.com> (raw)
In-Reply-To: <20121208150911.GA15808@pug.qqx.org>
First thanks, I used ${=cmd} and it worked.
On Sat, Dec 8, 2012 at 10:09 AM, Aaron Schrab <aaron@schrab.com> wrote:
> At 06:15 -0500 08 Dec 2012, shawn wilson <ag4ve.us@gmail.com> wrote:
>>
>> this is in my .zshrc file and it fails to execute $cmd with:
>> vim:45: no such file or directory: /usr/local/bin/vim --servername SWILSON
>
>
> Normally zsh doesn't split the result of variable expansion into separate
> words.
I don't think I understand this. how is a string different from zsh
splitting a variable up (I'm guessing an array based on ${=cmd})? And
I'm guessing this is different from how bash handles this?
next prev parent reply other threads:[~2012-12-08 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-08 11:15 shawn wilson
2012-12-08 15:09 ` Aaron Schrab
2012-12-08 15:43 ` shawn wilson [this message]
2012-12-08 17:07 ` Bart Schaefer
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='CAH_OBidN=qJit_VyF0_nATNms=M=vKMkWjq3sUgWe+9OrnwngA@mail.gmail.com' \
--to=ag4ve.us@gmail.com \
--cc=aaron@schrab.com \
--cc=zsh-users@zsh.org \
/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).