Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Sublime plugin fix for Ubuntu #1244

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+4 −2
Split
@@ -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 .'
+