mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update bash completion to only complete on directories as the argument to "docker build"
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
903c2af04e
commit
9176911736
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ _docker_build()
|
||||||
*)
|
*)
|
||||||
local counter="$(__docker_pos_first_nonflag '-t|--tag')"
|
local counter="$(__docker_pos_first_nonflag '-t|--tag')"
|
||||||
if [ $cword -eq $counter ]; then
|
if [ $cword -eq $counter ]; then
|
||||||
_filedir
|
_filedir -d
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue