Bug#823398: awscli: enable command-line completion
Tags: patch On Wed, 04 May 2016 06:06:30 -0400 Sandro Tosi wrote: Package: awscli Severity: normal Hello, awscli comes with bash/zsh completion scripts, but they are not activated by default; please enable them. I think /usr/share/bash-completion/completions/aws_bash_completer needs only to be renamed "aws", to work with the dynamic completion loading in /usr/share/bash-completion/bash_completion: diff --git a/debian/rules b/debian/rules index 418b78e..2c0fa06 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ override_dh_auto_install: python3 setup.py install --root=debian/awscli --install-layout=deb mv $(CURDIR)/debian/awscli/usr/bin/aws_bash_completer \ - $(CURDIR)/debian/awscli/usr/share/bash-completion/completions + $(CURDIR)/debian/awscli/usr/share/bash-completion/completions/aws mv $(CURDIR)/debian/awscli/usr/bin/aws_zsh_completer.sh \ $(CURDIR)/debian/awscli/usr/share/zsh/vendor-completions/_awscli rm $(CURDIR)/debian/awscli/usr/bin/aws.cmd
Bug#823398: awscli: enable command-line completion
Package: awscli Severity: normal Hello, awscli comes with bash/zsh completion scripts, but they are not activated by default; please enable them. Regards, Sandro -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.0.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)