mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Fixed a bug in checking the platform
This commit is contained in:
parent
6f859c5837
commit
8923694fb4
1 changed files with 5 additions and 4 deletions
9
plugins/sublime/sublime.plugin.zsh
Normal file → Executable file
9
plugins/sublime/sublime.plugin.zsh
Normal file → Executable file
|
@ -1,8 +1,9 @@
|
||||||
# Sublime Text 2 Aliases
|
# Sublime Text 2 Aliases
|
||||||
#unamestr = 'uname'
|
#unamestr = 'uname'
|
||||||
if [[ uname == 'Linux' ]]; then
|
|
||||||
alias st='open -a /usr/bin/sublime_text'
|
if [[ $('uname') == 'Linux' ]]; then
|
||||||
elif [[ uname == 'Darwin' ]]; then
|
alias st='/usr/bin/sublime_text&'
|
||||||
alias st='open -a "/Applications/Sublime Text 2.app'
|
elif [[ $('uname') == 'Darwin' ]]; then
|
||||||
|
alias st='open -a /Applications/Sublime Text 2.app'
|
||||||
fi
|
fi
|
||||||
alias stt='st .'
|
alias stt='st .'
|
||||||
|
|
Loading…
Reference in a new issue