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
merged 2 commits into from Jul 10, 2012

Conversation

Projects
None yet
4 participants
Contributor

joshvermaire commented Jul 9, 2012

escape whitespace for OS X

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

plugins/sublime/sublime.plugin.zsh
@@ -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

lwe Jul 9, 2012

Contributor

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'

Contributor

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
ddafaf6

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

Contributor

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