From 47aa0a2517070d998f82dc90638632d91990e8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 3 Jun 2023 08:25:28 +0300 Subject: [PATCH] refactor(__load_completion): remove redundant `local ret` --- bash_completion | 1 - 1 file changed, 1 deletion(-) 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