| 1 |
--- |
| 2 |
title: "hugo completion fish" |
| 3 |
slug: hugo_completion_fish |
| 4 |
url: /commands/hugo_completion_fish/ |
| 5 |
--- |
| 6 |
## hugo completion fish |
| 7 |
|
| 8 |
Generate the autocompletion script for fish |
| 9 |
|
| 10 |
### Synopsis |
| 11 |
|
| 12 |
Generate the autocompletion script for the fish shell. |
| 13 |
|
| 14 |
To load completions in your current shell session: |
| 15 |
|
| 16 |
hugo completion fish | source |
| 17 |
|
| 18 |
To load completions for every new session, execute once: |
| 19 |
|
| 20 |
hugo completion fish > ~/.config/fish/completions/hugo.fish |
| 21 |
|
| 22 |
You will need to start a new shell for this setup to take effect. |
| 23 |
|
| 24 |
|
| 25 |
``` |
| 26 |
hugo completion fish [flags] |
| 27 |
``` |
| 28 |
|
| 29 |
### Options |
| 30 |
|
| 31 |
``` |
| 32 |
-h, --help help for fish |
| 33 |
--no-descriptions disable completion descriptions |
| 34 |
``` |
| 35 |
|
| 36 |
### Options inherited from parent commands |
| 37 |
|
| 38 |
``` |
| 39 |
--clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 |
| 40 |
--config string config file (default is hugo.yaml|json|toml) |
| 41 |
--configDir string config dir (default "config") |
| 42 |
-d, --destination string filesystem path to write files to |
| 43 |
-e, --environment string build environment |
| 44 |
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern |
| 45 |
--logLevel string log level (debug|info|warn|error) |
| 46 |
--noBuildLock don't create .hugo_build.lock file |
| 47 |
--quiet build in quiet mode |
| 48 |
-M, --renderToMemory render to memory (mostly useful when running the server) |
| 49 |
-s, --source string filesystem path to read files relative from |
| 50 |
--themesDir string filesystem path to themes directory |
| 51 |
``` |
| 52 |
|
| 53 |
### SEE ALSO |
| 54 |
|
| 55 |
* [hugo completion](/commands/hugo_completion/) - Generate the autocompletion script for the specified shell |