Add support for redirections in bash completion for `docker save|load`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-07-26 13:52:52 +02:00
parent 7cf9e752d5
commit 1862ac1e63
1 changed files with 2 additions and 2 deletions

View File

@ -2579,7 +2579,7 @@ _docker_image_inspect() {
_docker_image_load() { _docker_image_load() {
case "$prev" in case "$prev" in
--input|-i) --input|-i|"<")
_filedir _filedir
return return
;; ;;
@ -2710,7 +2710,7 @@ _docker_image_rmi() {
_docker_image_save() { _docker_image_save() {
case "$prev" in case "$prev" in
--output|-o) --output|-o|">")
_filedir _filedir
return return
;; ;;