awscli: Make bash and zsh completions work
This commit is contained in:
parent
fba4a95068
commit
8de7d148c8
@ -21,6 +21,14 @@ pythonPackages.buildPythonPackage rec {
|
|||||||
groff
|
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 = {
|
meta = {
|
||||||
homepage = https://aws.amazon.com/cli/;
|
homepage = https://aws.amazon.com/cli/;
|
||||||
description = "Unified tool to manage your AWS services";
|
description = "Unified tool to manage your AWS services";
|
||||||
|
Loading…
Reference in New Issue
Block a user