I have 2 copies of Sublime Text downloaded, stable and dev. As suggested by the docs, I have added the appropriate folder to my PATH
:
export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"
The two Sublime Text instances are:
/Applications/Sublime Text.app/
/Applications/Sublime Text-stable.app/
When I use subl .
to open a folder, it always opens the folder in the stable channel binary, despite only the dev channel app being open.
I presume this is because the two apps are both claiming the com.sublimetext.4
bundle ID, and the dev channel app is losing because the stable channel loaded first for some reason. But I would expect to be able to control which copy of the app subl
deals with by using the subl
binary inside the appropriate app. (Or I guess by passing an argument to subl
providing a particular ST app bundle, but there doesn’t seem to be an argument for that.)
Is there a recommended way to keep multiple copies of Sublime Text around? And should I file a bug about subl
not using the right app, or is this actually behaving as expected?