Generate shell completion scripts for GitHub CLI commands. More information: https://cli.github.com/manual/gh_completion.
gh completion --shell bash|zsh|fish|powershell
gh
completion script to ~/.bashrc
:gh completion --shell bash >> ~/.bashrc
gh
completion script to ~/.zshrc
:gh completion --shell zsh >> ~/.zshrc
gh completion