Outputs completion script location
Generates completion script and outputs its location.
To configure your bash shell to load completions for each session, add the following to your ‘.bashrc’ or ‘.bash_profile’:
. $(pack completion)
To configure your fish shell to load completions for each session, add the following to your ‘~/.config/fish/config.fish’:
source (pack completion --shell fish)
To configure your powershell to load completions for each session, add the following to your ‘$Home[My ]Documents\PowerShell
Microsoft.PowerShell_profile.ps1’:
. $(pack completion --shell powershell)
To configure your zsh shell to load completions for each session, add the following to your ‘.zshrc’:
. $(pack completion --shell zsh)
pack completion [flags]
-h, --help help for completion
-s, --shell string Generates completion file for [bash|fish|powershell|zsh] (default "bash")
--force-color Force color output
--no-color Disable color output
-q, --quiet Show less output
--timestamps Enable timestamps in output
-v, --verbose Show more output