3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #105470 from zimbatm/awscli-completion

awscli2: fix bash completion name
This commit is contained in:
Sandro 2020-11-30 19:58:47 +01:00 committed by GitHub
commit cdd2fbcf2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ with py.pkgs; buildPythonApplication rec {
${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
echo "complete -C $out/bin/aws_completer aws" > $out/share/bash-completion/completions/aws
mkdir -p $out/share/zsh/site-functions
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions