Add support of sublime text 3 to sublime plugin

This commit is contained in:
Ben Pye 2013-12-14 20:00:40 +00:00
commit a2cc46670a

View file

@ -14,10 +14,13 @@ _sublime_darwin_paths=(
if [[ $('uname') == 'Linux' ]]; then if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then if [ -f '/usr/bin/sublime_text' ]; then
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & } st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
else alias st=st_run
elif [ -f '/usr/bin/sublime-text' ]; then
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & } st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
alias st=st_run
else
alias st="/usr/bin/subl3"
fi fi
alias st=st_run
elif [[ $('uname') == 'Darwin' ]]; then elif [[ $('uname') == 'Darwin' ]]; then