mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-15 00:55:16 +08:00
Detect / Launch both Sublime Text 2 and 3
This commit is contained in:
parent
04011838ff
commit
373195efd6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user