I noticed that when running a cd to a relative path that starts with ../ the directory change works fine but there is something that will be messed up. Below are a few examples.
Example 1
Initial state:
After running :cd ../..
Expected behavior:
Actual behavior:
Example 2
Initial state:
After running :cd ../dir3_alt
Expected behavior:
Actual behavior:
I already found a fix for this, I'll make a PR right after this issue.
I noticed that when running a
cd
to a relative path that starts with../
the directory change works fine but there is something that will be messed up. Below are a few examples.Example 1
Initial state:![immagine](https://github.com/kamiyaa/joshuto/assets/49314270/81b457d3-831b-4367-84ec-b5a0dbe218ca)
After running
:cd ../..
Expected behavior:
Actual behavior:
![immagine](https://github.com/kamiyaa/joshuto/assets/49314270/0d0f4da9-9e21-434e-a7ec-c074ff37a20b)
Example 2
Initial state:![immagine](https://github.com/kamiyaa/joshuto/assets/49314270/81b457d3-831b-4367-84ec-b5a0dbe218ca)
After running
:cd ../dir3_alt
Expected behavior:
Actual behavior:
![immagine](https://github.com/kamiyaa/joshuto/assets/49314270/eb5847ea-8076-4efa-b2ce-5a8ab48b1b9f)
I already found a fix for this, I'll make a PR right after this issue.