Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: variables aliases? (Was: Re: PATCH: files attributes not colored...)
- X-seq: zsh-workers 8441
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: variables aliases? (Was: Re: PATCH: files attributes not colored...)
- Date: Wed, 27 Oct 1999 12:48:00 +0200 (MET DST)
- In-reply-to: Sven Wischnowsky's message of Tue, 26 Oct 1999 16:05:10 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author