Merge pull request #384 from albers/completion-redirections

Add support for redirections in bash completion for `docker save|load`
This commit is contained in:
Kenfe-Mickaël Laventure 2017-08-02 18:15:24 +02:00 committed by GitHub
commit 41a9507250
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
;; ;;