* Re: variables aliases? (Was: Re: PATCH: files attributes not colored...)
@ 1999-10-27 10:48 Sven Wischnowsky
0 siblings, 0 replies; 3+ messages in thread
From: Sven Wischnowsky @ 1999-10-27 10:48 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: variables aliases? (Was: Re: PATCH: files attributes not colored...)
@ 1999-10-26 14:05 Sven Wischnowsky
0 siblings, 0 replies; 3+ messages in thread
From: Sven Wischnowsky @ 1999-10-26 14:05 UTC (permalink / raw)
To: zsh-workers
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.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* variables aliases? (Was: Re: PATCH: files attributes not colored...)
@ 1999-10-26 9:20 Alexandre Duret-Lutz
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Duret-Lutz @ 1999-10-26 9:20 UTC (permalink / raw)
To: zsh-workers
>>> 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?
--
Alexandre Duret-Lutz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-27 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-27 10:48 variables aliases? (Was: Re: PATCH: files attributes not colored...) Sven Wischnowsky
-- strict thread matches above, loose matches on Subject: below --
1999-10-26 14:05 Sven Wischnowsky
1999-10-26 9:20 Alexandre Duret-Lutz
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).