Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: script help
- X-seq: zsh-users 17466
- From: shawn wilson <ag4ve.us@xxxxxxxxx>
- To: Aaron Schrab <aaron@xxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: script help
- Date: Sat, 8 Dec 2012 10:43:39 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Tt1mBiDVNeIz+tlRBNT9gzsE2B2IIlC9NtWy9QsgZe4=; b=0x00bWM2M8fvLgMY3OqA5eQcIkFg594T5KqnvLYWqG65K3eR1j9933Gk2pt7ZFExmd d/ZJnyQiJQRlXE1hcQ85S36MlBDpjSSfGipxZq/yrvH2CjsMgAzI8vb3gEx+U2vSXzjr Z+HUmcGEM16I1z14A4nVqslneRMeUUMrEbnT5yHsd8uHFcwLLpof62cowCBjQi7JSQJm cxddh+hbboxP/xkledwBmIsSLxeZZpr8u6LhniXpwqu43Yuv+f6EFvC+xioznO8GaySQ Y25NaOUqkGqQBDAh5bIeNHu33RfyxI+7/qk88CyFd0FrGdg8havapfVzYiJI2TkHR608 pczw==
- In-reply-to: <20121208150911.GA15808@pug.qqx.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAH_OBidxmYPtmxrmwMYyE2U9tytbiwC7AtKpNJ7va3oDG8p66Q@mail.gmail.com> <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@xxxxxxxxxx> wrote:
> At 06:15 -0500 08 Dec 2012, shawn wilson <ag4ve.us@xxxxxxxxx> 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author