diff options
author | Kaiwen Xu <kevin@kevxu.net> | 2013-04-29 03:19:31 -0400 |
---|---|---|
committer | Kaiwen Xu <kevin@kevxu.net> | 2013-04-29 03:19:31 -0400 |
commit | 17a092b0ffa1ecf4ef9f727054a414e26f9e1edd (patch) | |
tree | d1b5e29eebccf3ae748074d21485bcc5a54999b0 /plugins/sublime | |
parent | b6ea876971b2270a2c73a07a6f6a337604132c6f (diff) | |
download | zsh-17a092b0ffa1ecf4ef9f727054a414e26f9e1edd.tar.gz zsh-17a092b0ffa1ecf4ef9f727054a414e26f9e1edd.tar.bz2 zsh-17a092b0ffa1ecf4ef9f727054a414e26f9e1edd.zip |
Change sublime text path select priority on mac.
User changed symbolic link for sublime binary is now top priority,
since this allows users to actually specify which version of sublime
they want to use. Sublime text 2 binary has higher priority over
sublime text (3) binary, since sublime text 2 is considered more
stable.
Diffstat (limited to 'plugins/sublime')
-rwxr-xr-x | plugins/sublime/sublime.plugin.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/sublime/sublime.plugin.zsh b/plugins/sublime/sublime.plugin.zsh index e74695de0..82faf87c9 100755 --- a/plugins/sublime/sublime.plugin.zsh +++ b/plugins/sublime/sublime.plugin.zsh @@ -2,10 +2,11 @@ local _sublime_darwin_paths > /dev/null 2>&1 _sublime_darwin_paths=( - "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" + "/usr/local/bin/subl" "$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" - "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" + "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" + "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ) if [[ $('uname') == 'Linux' ]]; then |