mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-04-27 16:53:30 +02:00
Fixed a bug in checking the platform
This commit is contained in:
Regular → Executable
+5
-4
@@ -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 .'
|
||||||
|
|||||||
Reference in New Issue
Block a user