Commit 2038421b authored by Mark Derricutt's avatar Mark Derricutt

Updated Sublime Plugin to support version 3

Sublime Version 3 drops the version number from the application path,
so if you enable this, and use 3 - the existing plugin would
silently fail.
parent 14788bcd
function subl --description 'Open Sublime Text 2'
if test -d "/Applications/Sublime Text 2.app"
function subl --description 'Open Sublime Text'
if test -d "/Applications/Sublime Text.app"
"/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
end
end
Markdown is supported
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