sublime pluginn : Added alias for Sublime Text 2 on Linux #1122

Merged
merged 2 commits into from Jul 3, 2012
View
@@ -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 .'