From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: variables aliases? (Was: Re: PATCH: files attributes not colored...)
Date: Wed, 27 Oct 1999 12:48:00 +0200 (MET DST) [thread overview]
Message-ID: <199910271048.MAA16417@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Tue, 26 Oct 1999 16:05:10 +0200 (MET DST)
I wrote:
> Alexandre Duret-Lutz wrote:
>
> > >>> I wrote :
> > [...]
> > > I used to do ZLS_COLORS=$LS_COLORS
> > [...]
> >
> > Is there a way to make something like `variables aliases', so that
> > [Z]LS_COLORS be two names for the same variable?
>
> No there isn't. I would have used that then. And, yes, I wished for
> something like that, too.
I forgot to say: if they were special parameters we could easily make
one mirror the other (internally they would then really be the same
char**). It's just a (tiny) bit nasty to inherit the value of a normal
parameter into the special one when complist gets loaded.
But then, we could make complist be autoloaded on `ZLS_COL(|U)RS'. We
had this question when I posted complist, and I was against it, but at
that time I didn't think about making them special. Hm.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-10-27 10:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-27 10:48 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-10-26 14:05 Sven Wischnowsky
1999-10-26 9:20 Alexandre Duret-Lutz
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=199910271048.MAA16417@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).