Afficher un message
Vieux 27/07/2007, 20h25   #2
Stephane CHAZELAS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: zsh conundrum: ~bin incorrectly expanded

2007-07-27, 17:47(+00), kj:
[...]
> I have the following in my .zshenv:
>
> export loc=$HOME/local
> export bin=$loc/bin

[...]
> % cd ~bin
> % pwd
> /bin
>
> Does anyone understand why "cd ~bin" takes me to /bin and not to
> /home/jones/local/bin (i.e. the directory named in $bin)?

[...]

Many systems have a user called "bin".
cd ~bin
takes you to that user's home directory.

--
Stéphane
  Réponse avec citation
 
Page generated in 0,05170 seconds with 9 queries