Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: path and += troubles
- X-seq: zsh-users 9709
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: "zsh-users" <zsh-users@xxxxxxxxxx>
- Subject: Re: path and += troubles
- Date: Sat, 26 Nov 2005 14:25:57 +0100
- In-reply-to: <200511261032.35289.cht@xxxxxxxxx>
- Mail-followup-to: "zsh-users" <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2FDFACEA-C7A6-4F45-897D-B786CC632463@xxxxxxxxxxxxxxx> <200511261032.35289.cht@xxxxxxxxx>
On 2005-11-26 10:32:35 +0100, Christian Taylor wrote:
> I never bothered about a deletion function, because I simply use:
> typeset -U path
> which will keep only the first occurence of any element.
But if a same path is written in two different ways, it doesn't
recognise it:
ay:~> echo $library_path
/home/lefevre/./lib /home/lefevre/./lib /home/lefevre/lib /usr/local/gmp/lib
ay:~> typeset -U LIBRARY_PATH
ay:~> echo $library_path
/home/lefevre/./lib /home/lefevre/lib /usr/local/gmp/lib
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author