Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/commands/hugo_completion_bash.md')
-rw-r--r--docs/content/en/commands/hugo_completion_bash.md22
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