Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a bug in checking the platform

  • Loading branch information...
commit 8923694fb42393d063487203e803199b394bbb47 1 parent 6f859c5
Varun Vijayaraghavan varunv authored

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. +5 4 plugins/sublime/sublime.plugin.zsh
9 plugins/sublime/sublime.plugin.zsh 100644 → 100755
... ... @@ -1,8 +1,9 @@
1 1 # Sublime Text 2 Aliases
2 2 #unamestr = 'uname'
3   -if [[ uname == 'Linux' ]]; then
4   - alias st='open -a /usr/bin/sublime_text'
5   -elif [[ uname == 'Darwin' ]]; then
6   - alias st='open -a "/Applications/Sublime Text 2.app'
  3 +
  4 +if [[ $('uname') == 'Linux' ]]; then
  5 + alias st='/usr/bin/sublime_text&'
  6 +elif [[ $('uname') == 'Darwin' ]]; then
  7 + alias st='open -a /Applications/Sublime Text 2.app'
7 8 fi
8 9 alias stt='st .'

0 comments on commit 8923694

Please sign in to comment.
Something went wrong with that request. Please try again.