Skip to content

Conversation

@claudeaceae
Copy link

Summary

  • Corrects the source path for bash completion script when not using bash-completion package

Details

In the section about installing bash completions without the bash-completion package, line 574 of docs/how-to.md incorrectly instructs users to source from /opt/homebrew/etc/bash_completion.d/container, but the script was just created in ~/.bash_completions/container on line 573.

The homebrew path is only relevant when using bash-completion (covered earlier in the same section). This fix ensures the example is internally consistent.

Test plan

  • Verified the script is created in ~/.bash_completions/container on line 573
  • Confirmed the corrected source command matches the same path
  • Checked that line 580 already uses the correct path

The example was sourcing from the wrong path. It should source from
~/.bash_completions/container (where the script was just created) not
from /opt/homebrew/etc/bash_completion.d/container (which is the path
for when bash-completion is installed via homebrew).
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.

1 participant