3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #16376 from ljli/fix-docker-fish-completions

docker: Expose completions for fish
This commit is contained in:
zimbatm 2016-06-23 16:10:10 +01:00 committed by GitHub
commit 457a5f6590

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
patchShebangs . patchShebangs .
export AUTO_GOPATH=1 export AUTO_GOPATH=1
export DOCKER_GITCOMMIT="a34a1d59" export DOCKER_GITCOMMIT="20f81dde"
./hack/make.sh dynbinary ./hack/make.sh dynbinary
''; '';
@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
# completion # completion
install -Dm644 ./contrib/completion/bash/docker $out/share/bash-completion/completions/docker install -Dm644 ./contrib/completion/bash/docker $out/share/bash-completion/completions/docker
install -Dm644 ./contrib/completion/fish/docker.fish $out/share/fish/vendor_completions.d/docker.fish
install -Dm644 ./contrib/completion/zsh/_docker $out/share/zsh/site-functions/_docker install -Dm644 ./contrib/completion/zsh/_docker $out/share/zsh/site-functions/_docker
''; '';