Bug#895338: awscli: zsh completion doesn't work as expected

2022-12-28 Thread Noah Meyerhans
tags -1 + pending

> This package ships /usr/share/zsh/vendor-completions/_awscli which I
> expect it to work like other files in zsh/vendor-completions.
> 
> For example, I should have `aws` completion if I just called `compinit`
> in my zshrc.
> 
> But I still need to `source /usr/share/zsh/vendor-completions/_awscli`
> to get the completion working.

I think I have this fixed with
https://salsa.debian.org/noahm/awscli/-/commit/2636a965c5646b2f635da7fcdcba3f6050860897,
which should be included in the next upload.

noah



Bug#895338: awscli: zsh completion doesn't work as expected

2018-04-09 Thread Shengjing Zhu
Package: awscli
Version: 1.14.44-1
Severity: minor

Dear Maintainer,

This package ships /usr/share/zsh/vendor-completions/_awscli which I
expect it to work like other files in zsh/vendor-completions.

For example, I should have `aws` completion if I just called `compinit`
in my zshrc.

But I still need to `source /usr/share/zsh/vendor-completions/_awscli`
to get the completion working.

Maybe you can't call `bashcompinit` in files under
zsh/vendor-completions?

So I think _awscli file is not in a proper position.

I find oh-my-zsh has a awscli plugin, but it expects
aws_zsh_completer.sh in $PATH.
https://github.com/robbyrussell/oh-my-zsh/blob/62b8a70a7c5d0c939d8dabfef48796a092d1a55f/plugins/aws/aws.plugin.zsh#L48

Should the upstream aws_zsh_completer.sh not be renamed to _awscli?

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages awscli depends on:
ii  python3 3.6.4-1
ii  python3-botocore1.8.48+repack-1
ii  python3-colorama0.3.7-1
ii  python3-docutils0.14+dfsg-3
ii  python3-rsa 3.4.2-1
ii  python3-s3transfer  0.1.13-1
ii  python3-yaml3.12-1+b1

awscli recommends no packages.

awscli suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature