Sublime Forum

Build 3184 breaks opening a file from command line

#1

If I run subl file on MacOS sublime opens an empty/new file instead of the actual file. This started happening in dev build 3184.

I reverted back to 3176 and it works.

» which subl
/usr/local/bin/subl
» ls -lah /usr/local/bin/subl
lrwxr-xr-x  1 jose  admin    62B Feb 28 09:05 /usr/local/bin/subl -> /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
0 Likes

#2

Do you possibly have two versions of Sublime Text on your machine?

0 Likes

#3

Hi Will,
I think I had 2 versions before rolling back. There was a Sublime Text.app and something like Sublime Text <some version number>.app, I deleted the one with the version number when I rolled back, unfortunately I cleaned Trash so I don’t remember exactly what that version number was.

I know that Sublime Text.app was the 3184 version because I checked on the About section , and that the symlink was properly pointing to that folder.

Thank you!

0 Likes