1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 00:40:07 +00:00

Merge pull request #1122 from varunkvv/master

sublime pluginn : Added alias for Sublime Text 2 on Linux
This commit is contained in:
Robby Russell 2012-07-03 06:28:36 -07:00
commit 0370de582b

8
plugins/sublime/sublime.plugin.zsh Normal file → Executable file
View file

@ -1,3 +1,9 @@
# Sublime Text 2 Aliases
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
#unamestr = 'uname'
if [[ $('uname') == 'Linux' ]]; then
alias st='/usr/bin/sublime_text&'
elif [[ $('uname') == 'Darwin' ]]; then
alias st='open -a /Applications/Sublime Text 2.app'
fi
alias stt='st .'