mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-18 01:02:45 +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…
Reference in New Issue
Block a user