zsh-users
 help / color / mirror / code / Atom feed
From: thomasg <thomas@gstaedtner.net>
To: TJ Luoma <tj@luo.ma>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: How should I construct this?
Date: Wed, 24 Apr 2013 21:53:54 +0200	[thread overview]
Message-ID: <CABgBRiLy-wAgJ1_Tpg-5Ra9dcUxNkc3wJAY7oEjNiyYc0RcsoA@mail.gmail.com> (raw)
In-Reply-To: <62F633CD-D335-4044-BE46-EFBBDA5F8922@luo.ma>

On Wed, Apr 24, 2013 at 8:56 PM, TJ Luoma <tj@luo.ma> wrote:
>
>
> On 24 Apr 2013, at 14:39, thomasg wrote:
>
>> What you want to use in a case like this are hashtables.
>> Basically this is a special array type, defined like this:
>
>
> Ooh, I _knew_ there had to be a way.
>
> Hashtables, eh? I've never used one of those before. Looking forward to
> playing with that.

Zsh calls this Associative Array btw., hashtable isn't technically
correct I guess (even though it looks like one :)

> (Have I mentioned that I've used zsh for ~20 years and feel like I'm only
> using 0.001% of what it can do? Stuff like this is why!)

Sometimes I think even the maintainers of zsh have to feel this way :)

> Thanks again
>
> TjL
>


  reply	other threads:[~2013-04-24 19:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 18:16 TJ Luoma
2013-04-24 18:39 ` thomasg
2013-04-24 18:56   ` TJ Luoma
2013-04-24 19:53     ` thomasg [this message]
2013-04-24 19:08   ` peter.d.miller
2013-04-24 18:49 ` Paul Hoffman
2013-04-24 19:50 ` Bart Schaefer
2013-04-24 22:30   ` TJ Luoma
2013-04-24 22:40   ` TJ Luoma
2013-04-25  1:29     ` Paul Hoffman

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=CABgBRiLy-wAgJ1_Tpg-5Ra9dcUxNkc3wJAY7oEjNiyYc0RcsoA@mail.gmail.com \
    --to=thomas@gstaedtner.net \
    --cc=tj@luo.ma \
    --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).