mirror of
https://github.com/docker/cli.git
synced 2026-01-22 03:22:01 +03: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)
Upstream-commit: 9bb81450d9
Component: cli
This commit is contained in:
@@ -156,7 +156,7 @@ _docker_build()
|
||||
*)
|
||||
local counter="$(__docker_pos_first_nonflag '-t|--tag')"
|
||||
if [ $cword -eq $counter ]; then
|
||||
_filedir
|
||||
_filedir -d
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user