Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Sublime plugin fix for Ubuntu #1244

Closed
wants to merge 1 commit into from

2 participants

Nick Kugaevsky Robby Russell
Nick Kugaevsky
  • 'st' alias can take any arguments
  • closing terminal session doesn't affect running Sublime Text instances
Nick Kugaevsky kugaevsky Sublime plugin fix for Ubuntu
  - 'st' alias can take any arguments
  - closing terminal session doesn't affect running Sublime Text instances
28c59cb
Robby Russell
Owner

Don't think this is needed now as other commits have helped linux and mac live together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 22, 2012
  1. Nick Kugaevsky

    Sublime plugin fix for Ubuntu

    kugaevsky authored
      - 'st' alias can take any arguments
      - closing terminal session doesn't affect running Sublime Text instances
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +4 −2 plugins/sublime/sublime.plugin.zsh
6 plugins/sublime/sublime.plugin.zsh
View
@@ -2,8 +2,10 @@
#unamestr = 'uname'
if [[ $('uname') == 'Linux' ]]; then
- alias st='/usr/bin/sublime_text&'
+ runst() { nohup /usr/bin/sublime-text $@ > /dev/null & }
+ alias st=runst
elif [[ $('uname') == 'Darwin' ]]; then
- alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
+ alias st='open -a /Applications/Sublime\ Text\ 2.app'
fi
alias stt='st .'
+
Something went wrong with that request. Please try again.