Commit 19aefa2b authored by 汤凯 Kevin Tong's avatar 汤凯 Kevin Tong
Browse files

Update plugins/sublime/sublime.plugin.zsh

Considering the situation when installing sublime text via apt-get (WebUpd8 Sublime Text 2 PPA)
parent c2ae9e09
......@@ -2,7 +2,11 @@
#unamestr = 'uname'
if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then
alias st='/usr/bin/sublime_text&'
else
alias st='/usr/bin/sublime-text&'
fi
elif [[ $('uname') == 'Darwin' ]]; then
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment