Add docker ps --filter=… image completion
I missed that on #15919, thanks @albers Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 6ae2cb7ad1aea951d50094638f386f78de57080c Component: engine
This commit is contained in:
@@ -975,6 +975,11 @@ _docker_ps() {
|
||||
esac
|
||||
|
||||
case "${words[$cword-2]}$prev=" in
|
||||
*ancestor=*)
|
||||
cur="${cur#=}"
|
||||
__docker_images
|
||||
return
|
||||
;;
|
||||
*id=*)
|
||||
cur="${cur#=}"
|
||||
__docker_container_ids
|
||||
|
||||
Reference in New Issue
Block a user