awscli2: fix completion
Generate index file for shell completion Fix #103709 See-also: https://github.com/Homebrew/homebrew-core/pull/57547/files
This commit is contained in:
parent
a9f8357e2e
commit
8582f5dbc9
|
@ -69,6 +69,9 @@ with py.pkgs; buildPythonApplication rec {
|
|||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/${python3.sitePackages}/awscli/data
|
||||
${python3.interpreter} scripts/gen-ac-index --index-location $out/${python3.sitePackages}/awscli/data/ac.index
|
||||
|
||||
mkdir -p $out/share/bash-completion/completions
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/share/bash-completion/completions/awscli
|
||||
|
||||
|
|
Loading…
Reference in New Issue