mirror of https://github.com/docker/cli.git
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:
parent
a5937c6043
commit
c270556d44
|
@ -1146,6 +1146,7 @@ __docker_complete_plugin() {
|
||||||
local path=$1
|
local path=$1
|
||||||
local completionCommand="__completeNoDesc"
|
local completionCommand="__completeNoDesc"
|
||||||
local resultArray=($path $completionCommand)
|
local resultArray=($path $completionCommand)
|
||||||
|
local current="$cur"
|
||||||
for value in "${words[@]:2}"; do
|
for value in "${words[@]:2}"; do
|
||||||
if [ -z "$value" ]; then
|
if [ -z "$value" ]; then
|
||||||
resultArray+=( "''" )
|
resultArray+=( "''" )
|
||||||
|
|
Loading…
Reference in New Issue