mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge a2cc46670a into 6b3c953775
This commit is contained in:
commit
e3bb1972ef
2 changed files with 30 additions and 2 deletions
|
|
@ -14,10 +14,13 @@ _sublime_darwin_paths=(
|
|||
if [[ $('uname') == 'Linux' ]]; then
|
||||
if [ -f '/usr/bin/sublime_text' ]; then
|
||||
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 & }
|
||||
alias st=st_run
|
||||
else
|
||||
alias st="/usr/bin/subl3"
|
||||
fi
|
||||
alias st=st_run
|
||||
|
||||
elif [[ $('uname') == 'Darwin' ]]; then
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue