How to Set Up Auto Completion in CLI
Set up shell auto completion when using StackedPRs from Aviator.
Aviator CLI comes with shell auto completion
Bash
This depends on bash-completion
package. You need to install this with your OS package managers. Then, add the following line to the bashrc.
source <(av completion bash)
Note on macOS
You will need to use bash from Homebrew (brew install bash bash-completion
) as the pre-installed bash version is old. Follow the instruction shown after installation to setup bash-completion.
Zsh
Setup compinit
, and add the following line to the zshrc.
source <(av completion zsh)
Last updated
Was this helpful?