I want to be able to open dir in sublime from terminal.
Whenever I do subl . it opens current dir in 2 sublime editors.
Of course I need it to open only one.
My assumption is that I've messed with symlinks, but I might be wrong.
I want to be able to open dir in sublime from terminal.
Whenever I do subl . it opens current dir in 2 sublime editors.
Of course I need it to open only one.
My assumption is that I've messed with symlinks, but I might be wrong.
You didn't messed up with symlinks, sublime has installed correctly. That is actually the right behavior.
The reason why does it open two sublime instances (my bet):
In either case you may want to:
Adding a -a flag to the subl command causes files to "open in current window", which prevents subsequent windows opening.
alias subl='subl -a'