MacOS Yosemite, just updated to build 3080. I am no longer able to open files from command line.
I’ve removed ~/bin/subl and re-linked:
$ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl ~/bin/subl
$ which subl
/Users/isuftin/bin/subl
$ echo $EDITOR
subl -w
$ subl
This opens sublime text 3, build 3080
$ subl
This just re-opens subl without opening a file