clones
is a link
nrolland at mactoasty in ~
$ la clones
lrwxr-xr-x 1 nrolland staff 11B Oct 5 16:37 clones -> Sync/clones
from a subdirectory
nrolland at mactoasty in ~/clones/monoidAsComputation/app
$ ls ../../../
list all the files in ~/Sync
whereas this lists all the files in ~
cd ../../../; ls
If I try to point a symbolic link to a location above, that fails although I can cd
into relative location
nrolland at mactoasty in ~/clones/monoidAsComputation/app
$ ln -s ../../../.emacs.d/reveal.js
whereas this will, because ln
expands the clones
symbolic link to its definition............
nrolland at mactoasty in ~/clones/monoidAsComputation/app
$ ln -s ../../../../.emacs.d/reveal.js
Is there any way to get back some sane referential transparency, or at least the same behavior between cd
and ln
?
I use zsh, on macos. I will try with other shells