1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 17:20:09 +00:00
ohmyzsh/plugins/sublime/sublime.plugin.zsh
汤凯 Kevin Tong 19aefa2bd6 Update plugins/sublime/sublime.plugin.zsh
Considering the situation when installing sublime text via apt-get (WebUpd8 Sublime Text 2 PPA)
2012-11-05 16:55:55 +08:00

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 .'