Skip to content

Commit

Permalink
Merge pull request ohmyzsh#1122 from varunkvv/master
Browse files Browse the repository at this point in the history
sublime pluginn : Added alias for Sublime Text 2 on Linux
  • Loading branch information
robbyrussell committed Jul 3, 2012
2 parents 76feafc + 8923694 commit 0370de5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plugins/sublime/sublime.plugin.zsh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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 .'

0 comments on commit 0370de5

Please sign in to comment.