Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Escape whitespace for Sublime Text plugin #1216

merged 2 commits into from Jul 10, 2012


None yet
4 participants

joshvermaire commented Jul 9, 2012

escape whitespace for OS X

@lwe lwe commented on an outdated diff Jul 9, 2012

@@ -4,6 +4,6 @@
if [[ $('uname') == 'Linux' ]]; then
alias st='/usr/bin/sublime_text&'
elif [[ $('uname') == 'Darwin' ]]; then
- alias st='open -a /Applications/Sublime Text 2.app'
+ alias st='open -a /Applications/Sublime\ Text\ 2.app'

lwe Jul 9, 2012


Instead of open -a, it's probably better to alias the command line binary that's embedded in sublime, alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'


joshvermaire commented Jul 9, 2012

@lwe ahh, hadn't seen that. nice. updated the pull request.

@robbyrussell robbyrussell added a commit that referenced this pull request Jul 10, 2012

@robbyrussell robbyrussell Merge pull request #1216 from joshvermaire/patch-1
Escape whitespace for Sublime Text plugin

@robbyrussell robbyrussell merged commit ddafaf6 into robbyrussell:master Jul 10, 2012


hacfi commented on a15bcd6 Aug 6, 2012

Using OS X 10.7.4 and iTerm2 I currently have the problem that it only works if there is a window open..the open -a method works better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment