mirror of https://github.com/docker/cli.git
Merge pull request #4876 from systemmonkey42/patch-1
Fixed typo in bash completion functions
This commit is contained in:
commit
67105e0995
|
@ -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