mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Fix Sublime Text 3.0 path for Ubuntu/Debian system
This commit is contained in:
parent
d485044169
commit
48c8e9af51
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ _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 & }
|
||||||
|
elif [ -f '/opt/sublime_text/sublime_text' ]; then
|
||||||
|
st_run() { nohup /opt/sublime_text/sublime_text $@ > /dev/null & }
|
||||||
else
|
else
|
||||||
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
|
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue