File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function _bash_completions_fetch_supported_commands {
6363 setopt extended_glob typeset_silent no_short_loops
6464 unsetopt nomatch
6565
66- local bash_completions=${ZSH_BASH_COMPLETIONS_FALLBACK_PATH:-/ usr/ share/ bash-completion}
66+ local bash_completions=${ZSH_BASH_COMPLETIONS_FALLBACK_PATH:- ${ ${( @ s /:/ ) ${XDG_DATA_DIRS :-/ usr/ share} } [1]} / bash-completion}
6767 local -a dirs=(
6868 ${BASH_COMPLETION_USER_DIR:- ${XDG_DATA_HOME:- $HOME / .local/ share} / bash-completion} /completions
6969 )
@@ -91,7 +91,7 @@ function _bash_completions_fetch_supported_commands {
9191}
9292
9393function _bash_completions_load {
94- local bash_completions=${ZSH_BASH_COMPLETIONS_FALLBACK_PATH:-/ usr/ share/ bash-completion}
94+ local bash_completions=${ZSH_BASH_COMPLETIONS_FALLBACK_PATH:- ${ ${( @ s /:/ ) ${XDG_DATA_DIRS :-/ usr/ share} } [1]} / bash-completion}
9595 local reserved_words=(
9696 " do"
9797 " done"
You can’t perform that action at this time.
0 commit comments