diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-28 08:12:35 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-28 08:12:35 +0100 |
commit | 14915a0c32069ac5b318dd4a67017e27135fba91 (patch) | |
tree | 3c7f61549f011667ca10b75ae863a401236360ea /docs/content/en/commands/hugo_completion_bash.md | |
parent | fd0c1a5e9b59954c3a09bbff45306272d5c229df (diff) |
cod: Regen CLI docs
Diffstat (limited to 'docs/content/en/commands/hugo_completion_bash.md')
-rw-r--r-- | docs/content/en/commands/hugo_completion_bash.md | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/docs/content/en/commands/hugo_completion_bash.md b/docs/content/en/commands/hugo_completion_bash.md index 4d5a69277..e83c39836 100644 --- a/docs/content/en/commands/hugo_completion_bash.md +++ b/docs/content/en/commands/hugo_completion_bash.md @@ -5,27 +5,31 @@ url: /commands/hugo_completion_bash/ --- ## hugo completion bash -generate the autocompletion script for bash +Generate the autocompletion script for bash ### Synopsis - 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. To load completions in your current shell session: -$ source <(hugo completion bash) + + source <(hugo completion bash) To load completions for every new session, execute once: -Linux: - $ hugo completion bash > /etc/bash_completion.d/hugo -MacOS: - $ hugo completion bash > /usr/local/etc/bash_completion.d/hugo + +#### Linux: + + hugo completion bash > /etc/bash_completion.d/hugo + +#### macOS: + + hugo completion bash > /usr/local/etc/bash_completion.d/hugo You will need to start a new shell for this setup to take effect. - + ``` hugo completion bash @@ -57,5 +61,5 @@ hugo completion bash ### SEE ALSO -* [hugo completion](/commands/hugo_completion/) - generate the autocompletion script for the specified shell +* [hugo completion](/commands/hugo_completion/) - Generate the autocompletion script for the specified shell |