Detect / Launch both Sublime Text 2 and 3

This commit is contained in:
Joshua Warner 2013-12-07 19:51:22 -07:00 committed by Bruno Pinto
parent 04011838ff
commit 373195efd6

View File

@ -3,5 +3,7 @@ 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
echo "No Sublime Text installation found"
end
end