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>
This commit is contained in:
parent
a253318869
commit
c514003e69
|
@ -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