mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge f7a1e40313 into c79e5a97a9
This commit is contained in:
commit
4f3c6d601e
1 changed files with 3 additions and 1 deletions
|
|
@ -12,8 +12,10 @@ _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
|
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 & }
|
||||||
|
else
|
||||||
|
st_run() { nohup /usr/bin/subl $@ > /dev/null & }
|
||||||
fi
|
fi
|
||||||
alias st=st_run
|
alias st=st_run
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue