zsh-users
 help / color / mirror / code / Atom feed
From: "John Reese" <john.reese@gmail.com>
To: sac <sac_urs@yahoo.co.in>
Cc: "Zsh users list" <zsh-users@sunsite.dk>
Subject: Re: The amazing array feature in zsh
Date: Tue, 15 Aug 2006 23:10:26 -0700	[thread overview]
Message-ID: <488030720608152310s5b0052d4j5aa1db1f5dcebd4d@mail.gmail.com> (raw)
In-Reply-To: <20060816044842.44532.qmail@web8403.mail.in.yahoo.com>

On 8/15/06, sac <sac_urs@yahoo.co.in> wrote:
> ...
> I dont know if any other shell provides similar
> feature, but this one is too good and useful, and
> makes the use of array in shell very easy. But I dont
> think this is documented in zsh, atleast I couldn't
> find it.
>
> Regards
> sac.
>

it's mentioned briefly in the Array Parameters section of zshparam(1).
 I agree that it's useful and maybe not obvious enough in the
documentation; I find it especially useful with the path variable.
When you look at the baroque suites of functions bash users are
constantly reimplementing and filling global dotfiles with to build up
PATH without duplicates, you realize how much more attractive the zsh
option is:

typeset -U path
path+=(~/bin /sw/bin /opt/local/bin)


  reply	other threads:[~2006-08-16  6:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16  4:48 sac
2006-08-16  6:10 ` John Reese [this message]
2006-08-16  7:12 ` Bart Schaefer
2006-08-16 10:07   ` sac

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=488030720608152310s5b0052d4j5aa1db1f5dcebd4d@mail.gmail.com \
    --to=john.reese@gmail.com \
    --cc=sac_urs@yahoo.co.in \
    --cc=zsh-users@sunsite.dk \
    /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).