mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
awscli2: fix bash completion name
The bash completion name should map the binary name, so that it can be loaded by the bash-completion package automatically.
This commit is contained in:
parent
9a63b3d3d6
commit
74f08a53a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user