提交 9ae12898 编写于 作者: R Robby Russell

Merge pull request #1454 from gAmUssA/patch-4

Update plugins/sublime/sublime.plugin.zsh
......@@ -5,10 +5,11 @@ local _sublime_darwin_subl=/Applications/Sublime\ Text\ 2.app/Contents/SharedSup
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
# Check if Sublime is installed in user's home application directory
if [[ -a $HOME/${_sublime_darwin_subl} ]]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册