Merge pull request #9023 from benley/awscli-completion

awscli: Make bash and zsh completions work
This commit is contained in:
Arseniy Seroka 2015-07-29 00:35:27 +03:00
commit e4107bdec3

View File

@ -21,6 +21,14 @@ pythonPackages.buildPythonPackage rec {
groff
];
postInstall = ''
mkdir -p $out/etc/bash_completion.d
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
mkdir -p $out/share/zsh/site-functions
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
rm $out/bin/aws.cmd
'';
meta = {
homepage = https://aws.amazon.com/cli/;
description = "Unified tool to manage your AWS services";