Merge pull request #1391 from logicmd/master
sublime text not found in Ubuntu
This commit is contained in:
commit
6fbe594238
@ -2,7 +2,11 @@
|
|||||||
#unamestr = 'uname'
|
#unamestr = 'uname'
|
||||||
|
|
||||||
if [[ $('uname') == 'Linux' ]]; then
|
if [[ $('uname') == 'Linux' ]]; then
|
||||||
alias st='/usr/bin/sublime_text&'
|
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
|
elif [[ $('uname') == 'Darwin' ]]; then
|
||||||
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
|
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user