From 91769117365207ad3218ee7bea6c472583b3ba2b Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 8 Jul 2014 20:26:23 -0600 Subject: [PATCH] Update bash completion to only complete on directories as the argument to "docker build" Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- contrib/completion/bash/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 89395560f9..4cefefabc2 100755 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -156,7 +156,7 @@ _docker_build() *) local counter="$(__docker_pos_first_nonflag '-t|--tag')" if [ $cword -eq $counter ]; then - _filedir + _filedir -d fi ;; esac