denvig shell
The shell command provides shell integration helpers.
denvig shell <subcommand>Subcommands
Section titled “Subcommands”completions
Section titled “completions”Output a shell completion script. ZSH is currently supported:
denvig shell completions zshPass --install to write the script to the shell completions directory
(~/.zsh/completions/_denvig) automatically:
denvig shell completions zsh --install| Option | Description |
|---|---|
--install |
Install completions to the shell completions directory. |
After installing, make sure the completions directory is on your fpath. Add the
following to your ~/.zshrc if it isn’t already:
fpath=(~/.zsh/completions $fpath)autoload -Uz compinit && compinitTo install completions to a custom directory, redirect the output directly:
denvig shell completions zsh > /custom/path/_denvig