Skip to content
Snippets Groups Projects
Commit d7d1ef58 authored by Michele Gerarduzzi's avatar Michele Gerarduzzi
Browse files

Add support for ST and ST3 installations inside `~/Applications` on OS X

parent b86fdeed
Branches
No related merge requests found
......@@ -3,6 +3,10 @@ function subl --description 'Open Sublime Text'
"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" $argv
else if test -d "/Applications/Sublime Text 2.app"
"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" $argv
else if test -d "$HOME/Applications/Sublime Text.app"
eval "$HOME/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" $argv
else if test -d "$HOME/Applications/Sublime Text 2.app"
eval "$HOME/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl" $argv
else if test -x "/opt/sublime_text/sublime_text"
"/opt/sublime_text/sublime_text" $argv
else if test -x "/opt/sublime_text_3/sublime_text"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment