gh wt completion install
Install shell completion for the detected shell
Synopsis
Automatically install shell completion for your current shell.
This command detects your shell (bash, zsh, fish, or PowerShell) and installs the completion script to the appropriate location. After installation, restart your shell or source your shell configuration file.
Supported shells:
- Bash: Installs to ~/.bash_completion.d/ or /etc/bash_completion.d/
- Zsh: Installs to ~/.zsh/completions/
- Fish: Installs to ~/.config/fish/completions/
- PowerShell: Provides instructions to add to profile
gh wt completion install
Examples
gh wt completion install
gh wt completion install --verbose
Options inherited from parent commands
| Flag | Description |
|---|---|
--no-color | disable color output |
--verbose | verbose output |
-f, --force | force operation without prompts |