Oh, wow, that’s so broken:
- ~/projects is a symlink, yes
- I have an index project always open, that contains ~/projects obviously
- I have another index project open, also symlinked, that contains just my projects
If I:
cd projects/some-project
subl .
It focuses up the main index project.
cd projects/some-project
subl ../some-other-project
It focuses the index project again.
cd projects/some-project
subl ../some-project-that-is-already-open
It focuses the index project again.
cd projects/some-project
subl ~/projects/some-project
It focuses the second index project, that is just for the ~projects.
If I close up the second index project, that’s just for the ~projects:
cd projects/some-project
subl ~/projects/some-project
It opens up the project in a new window as it should, disregarding the first index project that also contains it …
Like I said …
there should be just two cases …