Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: handling spaces in variables
- X-seq: zsh-users 11459
- From: "Alexy Khrabrov" <deliverable@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: handling spaces in variables
- Date: Thu, 26 Apr 2007 23:22:12 -0700
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BNmt14PkAQVWPZNUDbaEKo2naMBHjGZUpfqmvUapk+y4Qct2ZYto7E/42QuP8wpzI34MmLTXH3WKT8WMYyiESFzn8HcPlusYPKwXD7ipDxNdPU1sZSaeTJo1uDmB5C4+xChndP7f2ORddzjyHAHsHKkdAQcc1pjc8AzR48SSQGc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IAuiWsf7hQJzGO60CVYen73NCnSAIk+AVzY3jUpm7jvG4kfQI00KjkDb69jm3ZPzvw8hzv7xcVQVL6ZEnau8VQflQFWNpcj7wrEMwv/TJg15thUQi35WSzAglJcni3rhWH5rnlu/diGr+1Yy6Y0VNYrTA3M76hEXLSk/RRrKXqg=
- In-reply-to: <20070427033314.GA36272@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f300704261807s305f9858x37d044483870722@xxxxxxxxxxxxxx> <20070427033314.GA36272@xxxxxxxxxxxxxxxxxxxx>
Phil -- fantastic, thanks a lot! BTW, I reformat all of my mac
drives, including the main one in my MacBook, as HFSX, case-sensitive,
journaled. That allows for nice zsh and generally Unix-like behavior.
Cheers,
Alexy
On 4/26/07, Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:
On 2007-04-26 at 18:07 -0700, Alexy Khrabrov wrote:
> I'm running zsh on MacOSX,
That might be your user shell, but that doesn't mean /bin/sh is zsh.
Unfortunately, when I check, something is setting SHELL to the shell
from the user database. Bah!
> #!/bin/sh
Change that to #!/bin/zsh
After that, you'll have zsh behaviour. Which, by default, does *NOT*
split on whitespace the way that every other shell does. Making zsh
especially nice on MacOS.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author