subl --wait never returns when invoked on a directory

Josh Strater 8 years ago updated by Rory Powis 7 years ago 1

My VISUAL environment variable is set to subl --wait. When invoked on a directory (subl --wait my_directory/), the command never completes, even after quitting Sublime Text 2 entirely.

I'm getting the same behaviour but with subl aliased to /path/to/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl