Fix bash completion, remove have
Should solve #1639. Upstream-commit: 20772f90fff54f95fc8cafe2b0c9be4c093cbf64 Component: engine
This commit is contained in:
@ -21,7 +21,6 @@
|
||||
# If the docker daemon is using a unix socket for communication your user
|
||||
# must have access to the socket for the completions to function correctly
|
||||
|
||||
have docker && {
|
||||
__docker_containers_all()
|
||||
{
|
||||
local containers
|
||||
@ -542,4 +541,3 @@ _docker()
|
||||
}
|
||||
|
||||
complete -F _docker docker
|
||||
}
|
||||
Reference in New Issue
Block a user