Skip to content

Update README zsh completion for bundled installer#10327

Merged
adev-code merged 2 commits into
aws:v2from
adev-code:readmefile
Jun 8, 2026
Merged

Update README zsh completion for bundled installer#10327
adev-code merged 2 commits into
aws:v2from
adev-code:readmefile

Conversation

@adev-code

Copy link
Copy Markdown
Contributor

Fixes #8957. The README's zsh instructions point to
bin/aws_zsh_completer.sh, which ships with Package Manager
installs (e.g. pip) but not with the bundled installer (zip/pkg).
Bundled-installer users hit "No such file or directory".

Change

Scope the existing zsh block to Package Manager installs and add a
parallel block for the bundled installer using bashcompinit +
complete -C aws_completer aws.

Reference

Configuring command completion in the AWS CLI

The README's zsh section points to bin/aws_zsh_completer.sh, which
is shipped via Package Manager installs (e.g. pip) but not by the
bundled installer (zip/pkg). Bundled-installer users following the
README hit "No such file or directory" when sourcing it.

Keep the existing pip instructions and add a parallel block for
bundled installs using the bashcompinit + complete -C approach
documented in the AWS CLI User Guide. Both methods now coexist
without removing the legacy path that pip users still rely on.

Fixes aws#8957
Comment thread README.rst Outdated
Both pip and bundled installs ship aws_completer, so a single set of
instructions covers both methods. Replace the legacy
aws_zsh_completer.sh block with bashcompinit + complete -C aws_completer
as documented in the AWS CLI User Guide:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html

Fixes aws#8957
@adev-code adev-code requested a review from hssyoo May 29, 2026 18:36
@adev-code adev-code merged commit d9d30da into aws:v2 Jun 8, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants