Fix Sublime Text 3.0 path for Ubuntu/Debian system

This commit is contained in:
Riccardo Merolla 2014-01-21 13:09:49 +01:00
commit 48c8e9af51

View file

@ -14,6 +14,8 @@ _sublime_darwin_paths=(
if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
elif [ -f '/opt/sublime_text/sublime_text' ]; then
st_run() { nohup /opt/sublime_text/sublime_text $@ > /dev/null & }
else
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
fi