Skip to content

Commit

Permalink
refactor(__load_completion): remove redundant local ret
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 3, 2023
1 parent 523dd5d commit 47aa0a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47aa0a2

Please sign in to comment.