17 lines
463 B
Markdown
17 lines
463 B
Markdown
# Bash completion
|
|
|
|
| Distribution | Package |
|
|
| ------------ | ----------------- |
|
|
| Arch Linux | `bash-completion` |
|
|
| Ubuntu | `bash-completion` |
|
|
| Homebrew | `bash-completion` |
|
|
|
|
With Arch Linux, Ubuntu, add to `~/.bashrc`:
|
|
|
|
```bash
|
|
[[ -f /usr/share/bash-completion/bash_completion ]] && \
|
|
source /usr/share/bash-completion/bash_completion
|
|
```
|
|
|
|
With Homebrew, read [Homebrew Shell Completion](https://docs.brew.sh/Shell-Completion).
|