mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
Merge 61ce221bc2 into 86a272ef81
This commit is contained in:
commit
d0128b0274
1 changed files with 10 additions and 8 deletions
|
|
@ -5,12 +5,14 @@ if [[ $('uname') == 'Linux' ]]; then
|
|||
_sublime_linux_paths=(
|
||||
"$HOME/bin/sublime_text"
|
||||
"/opt/sublime_text/sublime_text"
|
||||
"/usr/bin/sublime_text"
|
||||
"/usr/local/bin/sublime_text"
|
||||
"/usr/local/bin/sublime-text"
|
||||
"/usr/bin/sublime_text"
|
||||
"/usr/bin/sublime-text"
|
||||
)
|
||||
for _sublime_path in $_sublime_linux_paths; do
|
||||
if [[ -a $_sublime_path ]]; then
|
||||
st_run() { $_sublime_path $@ >/dev/null 2>&1 &| }
|
||||
st_run() { nohup $_sublime_path $@ > /dev/null 2>&1 &| }
|
||||
alias st=st_run
|
||||
break
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue