Fixed typo in bash completion functions

Signed-off-by: David le Blanc <david-le-blanc@users.noreply.github.com>
This commit is contained in:
David le Blanc 2024-02-14 16:24:05 +11:00 committed by David le Blanc
parent a253318869
commit c514003e69
1 changed files with 1 additions and 0 deletions

View File

@ -1146,6 +1146,7 @@ __docker_complete_plugin() {
local path=$1
local completionCommand="__completeNoDesc"
local resultArray=($path $completionCommand)
local current="$cur"
for value in "${words[@]:2}"; do
if [ -z "$value" ]; then
resultArray+=( "''" )