mirror of
https://github.com/apple/container.git
synced 2026-08-27 18:14:21 -05:00
Fix bash completion source path in documentation (#981)
- Corrects the source path for bash completion script when not using bash-completion package.
This commit is contained in:
+1
-1
@@ -571,7 +571,7 @@ Without bash-completion, you’ll need to source the completion script directly.
|
||||
```bash
|
||||
mkdir -p ~/.bash_completions
|
||||
container --generate-completion-script bash > ~/.bash_completions/container
|
||||
source /opt/homebrew/etc/bash_completion.d/container
|
||||
source ~/.bash_completions/container
|
||||
```
|
||||
|
||||
Furthermore, you can add the following line to `~/.bash_profile` or `~/.bashrc`, in order for every new bash session to have autocompletion ready.
|
||||
|
||||
Reference in New Issue
Block a user