That's because the subl command ends up launching Sublime Text 2 under your user id instead of as root. The only way to do what you want is to do:
- Code: Select all
sudo /Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2
Note that this will tie up that terminal session until ST2 quits, and that it will be reading prefs from /var/root/Library/Application Support/Sublime Text 2, not your home directory.