sublime pluginn : Added alias for Sublime Text 2 on Linux #1122

Merged
merged 2 commits into from Jul 3, 2012

Conversation

Projects
None yet
5 participants

Detects the platform using "uname", and sets the alias accordingly.
If you are using Linux, this assumes that you have created a
symbolic link to /usr/bin/sublime_text.

Varun Vijayaraghavan
varun.kvv@gmail.com

varunv added some commits May 21, 2012

Add Sublime Text 2 alias for Linux.
Detects the platform using "uname", and sets the alias accordingly.
If you are using Linux, this assumes that you have created a
symbolic link to /usr/bin/sublime_text.

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

Merge pull request #1122 from varunkvv/master
sublime pluginn : Added alias for Sublime Text 2 on Linux

@robbyrussell robbyrussell merged commit 0370de5 into robbyrussell:master Jul 3, 2012

@robbyrussell robbyrussell merged commit 8923694 into robbyrussell:master Jul 3, 2012

Contributor

lwe commented Jul 3, 2012

FYI, this breaks sublime on mac os x (at least for me), should keep for os x:

alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'

docas added a commit to joekychen/oh-my-zsh that referenced this pull request Jul 5, 2012

docas added a commit to joekychen/oh-my-zsh that referenced this pull request Jul 10, 2012

Contributor

nXqd commented Jan 8, 2013

@lwe same here, does it work with the other ones ?
Otherwise, I will create a pull on this one :)

Contributor

lwe commented Jan 8, 2013

@nXqd the MacOS X issue has long been fixed AFAIK, have you tried updating your oh-my-zsh installation?
Actual plugin contains the correct path to the subl binary for OS X: https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/sublime/sublime.plugin.zsh

Contributor

nXqd commented Jan 9, 2013

this is what i get from which st and it doesn't work for me. I already get the lastest oh-my-zsh, still do not know if it's zsh local variable doesn't work or else. I'm not so familiar with shell programming

st: aliased to ${_sublime_darwin_subl}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment