b34aee7f76c4cd37e643a330409ac580776b3837
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #1774 from kevinxucs/sublime-default-2
Change sublime text path select priority on mac.
Diff
1diff --git a/plugins/sublime/sublime.plugin.zsh b/plugins/sublime/sublime.plugin.zsh
2index e74695de0c26ed5e634f22a0605421400ef5e0ff..82faf87c92db550f1e667958c9e70176b278c76e 100755
3--- a/plugins/sublime/sublime.plugin.zsh
4+++ b/plugins/sublime/sublime.plugin.zsh
5@@ -2,10 +2,11 @@
6
7 local _sublime_darwin_paths > /dev/null 2>&1
8 _sublime_darwin_paths=(
9- "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
10+ "/usr/local/bin/subl"
11 "$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
12- "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
13+ "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
14 "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
15+ "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
16 )
17
18 if [[ $('uname') == 'Linux' ]]; then