From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11046 invoked by alias); 8 Dec 2012 15:44:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17466 Received: (qmail 13677 invoked from network); 8 Dec 2012 15:44:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.171 as permitted sender) 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== MIME-Version: 1.0 In-Reply-To: <20121208150911.GA15808@pug.qqx.org> References: <20121208150911.GA15808@pug.qqx.org> From: shawn wilson Date: Sat, 8 Dec 2012 10:43:39 -0500 Message-ID: Subject: Re: script help To: Aaron Schrab , Zsh Users Content-Type: text/plain; charset=UTF-8 First thanks, I used ${=cmd} and it worked. On Sat, Dec 8, 2012 at 10:09 AM, Aaron Schrab wrote: > At 06:15 -0500 08 Dec 2012, shawn wilson 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?