mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix bash completion for dockerd with path
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
3ac1787b7e
commit
e8c67e8d8d
1 changed files with 1 additions and 1 deletions
|
@ -2319,7 +2319,7 @@ _docker() {
|
|||
done
|
||||
|
||||
local binary="${words[0]}"
|
||||
if [[ $binary == dockerd ]] ; then
|
||||
if [[ $binary == ?(*/)dockerd ]] ; then
|
||||
# for the dockerd binary, we reuse completion of `docker daemon`.
|
||||
# dockerd does not have subcommands and global options.
|
||||
command=daemon
|
||||
|
|
Loading…
Add table
Reference in a new issue