hart completion
Generate the autocompletion script for the specified shell
Generated from
cmd/hart at v1.5.0Generate the autocompletion script for hart for the specified shell. See each sub-command's help for details on how to use the generated script.
hart completion [command]Subcommands:
hart completion bash: Generate the autocompletion script for bashhart completion fish: Generate the autocompletion script for fishhart completion powershell: Generate the autocompletion script for powershellhart completion zsh: Generate the autocompletion script for zsh
hart completion bash
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.
hart completion bash| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
hart completion fish
Generate the autocompletion script for the fish shell.
hart completion fish [flags]| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
hart completion powershell
Generate the autocompletion script for powershell.
hart completion powershell [flags]| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |
hart completion zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
hart completion zsh [flags]| Flag | Description |
|---|---|
--no-descriptions | disable completion descriptions |