docs: Regenerate CLI docs

This commit is contained in:
Bjørn Erik Pedersen
2022-09-22 17:57:13 +02:00
parent 0171fb2010
commit 4f9cb4f344
3 changed files with 7 additions and 2 deletions

View File

@@ -16,6 +16,10 @@ to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(hugo completion zsh); compdef _hugo hugo
To load completions for every new session, execute once:
#### Linux:
@@ -24,7 +28,7 @@ To load completions for every new session, execute once:
#### macOS:
hugo completion zsh > /usr/local/share/zsh/site-functions/_hugo
hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo
You will need to start a new shell for this setup to take effect.