Shell Completion
Generate a shell completion file for supported shells (bash/fish/zsh/powershell)
Prints to StdOut a shell completion script for zsh shell.
Bash (default)
To load completions for each session, execute once:
Linux:
MacOS:
zsh
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
To load completions for each session, execute once:
You will need to start a new shell for this setup to take effect.
fish
To load completions for each session, execute once:
PowerShell
Users need PowerShell version 5.0 or above, which comes with Windows 10 and can be downloaded separately for Windows 7 or 8.1. They can then write the completions to a file and source this file from their PowerShell profile, which is referenced by the $Profile environment variable.
Last updated