mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Add support of sublime text 3 to sublime plugin
This commit is contained in:
parent
deb829e8fd
commit
a2cc46670a
1 changed files with 5 additions and 2 deletions
|
|
@ -14,10 +14,13 @@ _sublime_darwin_paths=(
|
||||||
if [[ $('uname') == 'Linux' ]]; then
|
if [[ $('uname') == 'Linux' ]]; then
|
||||||
if [ -f '/usr/bin/sublime_text' ]; then
|
if [ -f '/usr/bin/sublime_text' ]; then
|
||||||
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
|
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
|
||||||
else
|
alias st=st_run
|
||||||
|
elif [ -f '/usr/bin/sublime-text' ]; then
|
||||||
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
|
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
|
||||||
|
alias st=st_run
|
||||||
|
else
|
||||||
|
alias st="/usr/bin/subl3"
|
||||||
fi
|
fi
|
||||||
alias st=st_run
|
|
||||||
|
|
||||||
elif [[ $('uname') == 'Darwin' ]]; then
|
elif [[ $('uname') == 'Darwin' ]]; then
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue