Skip to content

Commit 47aa0a2

Browse files
committed
refactor(__load_completion): remove redundant local ret
1 parent 523dd5d commit 47aa0a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bash_completion

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2973,7 +2973,6 @@ __load_completion()
29732973
# the real path to the command, and $PATH
29742974
paths=()
29752975
[[ $cmd == /* ]] && paths+=("${cmd%/*}")
2976-
local ret
29772976
_comp_realcommand "$cmd" && paths+=("${ret%/*}")
29782977
_comp_split -aF : paths "$PATH"
29792978
for dir in "${paths[@]%/}"; do

0 commit comments

Comments
 (0)