crusoe 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
Usage
crusoe completion zsh [flags]
Flags
| Flag | Description |
|---|---|
-h, --help | Help for zsh |
--no-descriptions | Disable completion descriptions |
Examples
Load completions in your current shell session:
source <(crusoe completion zsh)
Load completions for every new session (Linux):
crusoe completion zsh > "${fpath[1]}/_crusoe"
Load completions for every new session (macOS):
crusoe completion zsh > $(brew --prefix)/share/zsh/site-functions/_crusoe