mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Merge pull request #1391 from logicmd/master
sublime text not found in Ubuntu
This commit is contained in:
commit
6fbe594238
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue