mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-25 05:41:58 +00:00
19aefa2bd6
Considering the situation when installing sublime text via apt-get (WebUpd8 Sublime Text 2 PPA)
13 lines
346 B
Bash
Executable file
13 lines
346 B
Bash
Executable file
# Sublime Text 2 Aliases
|
|
#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
|
|
alias stt='st .'
|