mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 16:59:03 +01:00
19aefa2bd6
Considering the situation when installing sublime text via apt-get (WebUpd8 Sublime Text 2 PPA)
14 lines
346 B
Bash
Executable File
14 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 .'
|