0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

Fixed a bug in checking the platform

This commit is contained in:
Varun Vijayaraghavan 2012-05-24 11:33:19 -04:00
parent 6f859c5837
commit 8923694fb4

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

@ -1,8 +1,9 @@
# Sublime Text 2 Aliases
#unamestr = 'uname'
if [[ uname == 'Linux' ]]; then
alias st='open -a /usr/bin/sublime_text'
elif [[ uname == 'Darwin' ]]; then
alias st='open -a "/Applications/Sublime Text 2.app'
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 .'