Commit 54f19905 authored by Viktor Gamov's avatar Viktor Gamov
Browse files

Update plugins/sublime/sublime.plugin.zsh

updated run sublime on linux with parameters 
parent 8796fd01
...@@ -3,10 +3,11 @@ ...@@ -3,10 +3,11 @@
if [[ $('uname') == 'Linux' ]]; then if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then if [ -f '/usr/bin/sublime_text' ]; then
alias st='/usr/bin/sublime_text&' st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
else else
alias st='/usr/bin/sublime-text&' st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
fi fi
alias st=st_run
elif [[ $('uname') == 'Darwin' ]]; then elif [[ $('uname') == 'Darwin' ]]; then
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment