diff --git a/bash_completion b/bash_completion index c90cbb91df1..c12c4ce2adf 100644 --- a/bash_completion +++ b/bash_completion @@ -2973,7 +2973,6 @@ __load_completion() # the real path to the command, and $PATH paths=() [[ $cmd == /* ]] && paths+=("${cmd%/*}") - local ret _comp_realcommand "$cmd" && paths+=("${ret%/*}") _comp_split -aF : paths "$PATH" for dir in "${paths[@]%/}"; do