Home Download Buy Blog Forum Support

"subl ." opens empty window

"subl ." opens empty window

Postby edgarjs on Thu Feb 07, 2013 6:07 pm

Sometimes when I try to open the current directory in sublime from the command line (subl .), it does launch the app but with an empty window, not the current directory. Other times it works properly.

This happens in both ST2 and 3.

My subl bin is /usr/local/bin/subl@ -> /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
edgarjs
 
Posts: 1
Joined: Thu Feb 07, 2013 6:05 pm

Re: "subl ." opens empty window

Postby Steve.Meida.King on Thu Feb 07, 2013 10:33 pm

I see the same behavior, with both ST2 and ST3.
Steve.Meida.King
 
Posts: 5
Joined: Mon Aug 13, 2012 1:40 pm

Re: "subl ." opens empty window

Postby Perceptes on Tue Mar 05, 2013 3:13 am

I was hoping this bug would be fixed in ST3, but it's still happening to me with the build 3012. :(
Perceptes
 
Posts: 9
Joined: Thu Sep 22, 2011 7:50 pm

Re: "subl ." opens empty window

Postby adzenith on Tue Mar 05, 2013 2:08 pm

Yeah, this has happened to me since forever as well. Just swap back to your terminal and run the command a second time and it should work. It'd be nice to have it work reliably, though!
adzenith
 
Posts: 1214
Joined: Mon Oct 19, 2009 9:12 pm

Re: "subl ." opens empty window

Postby frou on Mon Mar 18, 2013 12:32 am

This happens to me all the time and I'd love to see it fixed.

I happen to use the following settings and wonder if others affected by this do too?

Code: Select all
"hot_exit": false,
"remember_open_files": false,
frou
 
Posts: 49
Joined: Sun Jul 31, 2011 11:26 am

Re: "subl ." opens empty window

Postby Dan2552 on Mon Mar 25, 2013 9:46 pm

I get the same thing

Code: Select all
"hot_exit": true,
"remember_open_files": true,


edit --

On Mac you can also use
Code: Select all
open -a "Sublime Text" .

not sure if it does the same thing, because I can never really figure out why subl does it in the first place, but early tests are looking good
Dan2552
 
Posts: 1
Joined: Mon Mar 25, 2013 9:41 pm

Re: "subl ." opens empty window

Postby akrabat on Tue Apr 23, 2013 7:51 am

This bug affects me too and is so annoying!

Regards,

Rob...
akrabat
 
Posts: 18
Joined: Wed Dec 21, 2011 3:41 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests