I’m not really sure if this is a usage question, or more of a design question.
I’m on a Linux system and I have a separate disk for my data called Data
which is symlinked inside my home directory like this:
me@my_pc ~ $ ls -al Data
lrwxrwxrwx 1 jonas jonas 10 3 nov 16:03 Data -> /mnt/data/
There is a difference in the Terminal behavior (I use zsh) and julia repl behavior as shown below.
from zsh
me@my_pc ~ $ cd Data
me@my_pc Data $ cd ..
me@my_pc ~ $
standard Julia
julia> pwd()
"/home/me"
julia> cd("Data")
julia> pwd()
"/mnt/data"
julia> cd("..")
julia> pwd()
"/mnt"
the Julia shell
shell> cd Data
/mnt/data
shell> cd ..
/mnt
A you can see the Julia behavior and the Julia shell behavior is consistent. However it is still unexpected behavior (to me).
Is this a bug and something I should report? Or does it make sense? I which case, can somebody enlighten me?