Fixed typo in bash completion functions

Signed-off-by: David le Blanc <david-le-blanc@users.noreply.github.com>
(cherry picked from commit c514003e69)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
David le Blanc 2024-02-14 16:24:05 +11:00 committed by Paweł Gronowski
parent a5937c6043
commit c270556d44
No known key found for this signature in database
GPG Key ID: B85EFCFE26DEF92A
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+=( "''" )