mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-24 17:37:37 +08:00
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.
This commit is contained in:
parent
14788bcd4b
commit
2038421b99
|
@ -1,5 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user