1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Update plugins/sublime/sublime.plugin.zsh

updated run sublime on linux with parameters
This commit is contained in:
Viktor Gamov 2012-12-02 13:54:24 -05:00
parent 8796fd01cc
commit 54f1990511

View file

@ -3,10 +3,11 @@
if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then
alias st='/usr/bin/sublime_text&'
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
else
alias st='/usr/bin/sublime-text&'
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
fi
alias st=st_run
elif [[ $('uname') == 'Darwin' ]]; then
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
fi