docker-compose: add zsh completion
This commit is contained in:
parent
9af20c376b
commit
66c616fa3d
1 changed files with 7 additions and 4 deletions
|
@ -5,6 +5,7 @@
|
|||
, six, texttable, websocket_client, cached-property
|
||||
, enum34, functools32, paramiko
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
version = "1.24.1";
|
||||
pname = "docker-compose";
|
||||
|
@ -32,15 +33,17 @@ buildPythonApplication rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/bash-completion/completions/
|
||||
cp contrib/completion/bash/docker-compose $out/share/bash-completion/completions/docker-compose
|
||||
install -D -m 0444 contrib/completion/bash/docker-compose \
|
||||
$out/share/bash-completion/completions/docker-compose
|
||||
|
||||
install -D -m 0444 contrib/completion/zsh/_docker-compose \
|
||||
$out/share/zsh-completion/zsh/site-functions/_docker-compose
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://docs.docker.com/compose/;
|
||||
description = "Multi-container orchestration for Docker";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue