This commit is contained in:
Matjaž Drolc 2013-10-12 10:02:25 -07:00
commit 4f3c6d601e

View file

@ -12,8 +12,10 @@ _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 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 & }
else
st_run() { nohup /usr/bin/subl $@ > /dev/null & }
fi fi
alias st=st_run alias st=st_run