Docs
CLITools

Aliases and completion

Short names for commands you use often, shell completion (co alias, co completion)

Aliases (co alias)

co alias set bugs "issue list --label bug"
co bugs                        # → co issue list --label bug
co bugs -p CORE                # arguments you add are passed through
co alias list
co alias delete bugs

Aliases are saved in the settings file. Names of main commands such as issue, cr and config cannot be used as aliases. An alias named after a command that is not blocked (chat, status and so on) hides the real command, so avoid that. The other subcommands (edit, rename, import) are in co alias --help.

Completion (co completion)

ShellSetup
bashsource <(co completion bash). To keep it, co completion bash > /etc/bash_completion.d/co
zshco completion zsh > "${fpath[1]}/_co" (compinit must be enabled)
fishco completion fish > ~/.config/fish/completions/co.fish
PowerShellRun the output of co completion powershell with Invoke-Expression. Put it in $PROFILE to apply it to new windows

Table of Contents

AI tools

Was this helpful?