Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Small problem with typeset -U.
- X-seq: zsh-workers 1626
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: borsenkow.msk@xxxxxx
- Subject: Re: Small problem with typeset -U.
- Date: Fri, 12 Jul 1996 17:41:23 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SV4.3.94.960712165030.23028C-100000@itsrm1> from Andrej Borsenkow at "Jul 12, 96 05:01:17 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> Hi!
>
> A little problem with mirror parameters (like path and PATH) and typeset
> -U command.
>
> If I set -U option for one of pair of mirrored parameters, it is not set
> for other. Thus, e.g.
>
> typeset -U path
> PATH=$PATH:~/bin:~/bin
>
> still results in ~/bin being in path/PATH two times. The same holds also
> if I set -U for path and try to change PATH.
This behaviour is deliberate since it gives more flexibility to the shell.
As I remember when I originally introduced it others agreed that this is
useful.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author