diff --git a/completions/info b/completions/info index 549abc41eb3..7a179e63c30 100644 --- a/completions/info +++ b/completions/info @@ -47,8 +47,6 @@ _info() infopath=$INFOPATH fi - _expand || return - infopath=$infopath: if [[ -n $cur ]]; then infopath="${infopath//://$cur* }" diff --git a/completions/man b/completions/man index 037a715fdb6..94935753c25 100644 --- a/completions/man +++ b/completions/man @@ -75,8 +75,6 @@ _man() # shellcheck disable=SC2053 [[ $prev == $mansect ]] && sect=$prev || sect='*' - _expand || return - manpath=$manpath: if [[ -n $cur ]]; then manpath="${manpath//://*man$sect/$cur* } ${manpath//://*cat$sect/$cur* }"