diff options
| author | Yigit Sever | 2021-11-14 02:49:11 +0300 |
|---|---|---|
| committer | Yigit Sever | 2021-11-14 02:49:11 +0300 |
| commit | 34966f345bee30f36ee82b995dcc829b01705c2e (patch) | |
| tree | 8766c18bd98d81ecb1cbf91fef79cf2e2ee38994 /.config/fish | |
| parent | cbb295cfd051687dd66117692c8a202c4e1d5ce1 (diff) | |
| download | dotfiles-34966f345bee30f36ee82b995dcc829b01705c2e.tar.gz dotfiles-34966f345bee30f36ee82b995dcc829b01705c2e.tar.bz2 dotfiles-34966f345bee30f36ee82b995dcc829b01705c2e.zip | |
fish: tracking zola completions
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/completions/zola.fish | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/fish/completions/zola.fish b/.config/fish/completions/zola.fish new file mode 100644 index 0000000..a0d1bad --- /dev/null +++ b/.config/fish/completions/zola.fish | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | complete -c zola -n "__fish_use_subcommand" -s c -l config -d 'Path to a config file other than config.toml in the root of project' | ||
| 2 | complete -c zola -n "__fish_use_subcommand" -s h -l help -d 'Prints help information' | ||
| 3 | complete -c zola -n "__fish_use_subcommand" -s V -l version -d 'Prints version information' | ||
| 4 | complete -c zola -n "__fish_use_subcommand" -f -a "init" -d 'Create a new Zola project' | ||
| 5 | complete -c zola -n "__fish_use_subcommand" -f -a "build" -d 'Deletes the output directory if there is one and builds the site' | ||
| 6 | complete -c zola -n "__fish_use_subcommand" -f -a "serve" -d 'Serve the site. Rebuild and reload on change automatically' | ||
| 7 | complete -c zola -n "__fish_use_subcommand" -f -a "check" -d 'Try building the project without rendering it. Checks links' | ||
| 8 | complete -c zola -n "__fish_use_subcommand" -f -a "help" -d 'Prints this message or the help of the given subcommand(s)' | ||
| 9 | complete -c zola -n "__fish_seen_subcommand_from init" -s h -l help -d 'Prints help information' | ||
| 10 | complete -c zola -n "__fish_seen_subcommand_from init" -s V -l version -d 'Prints version information' | ||
| 11 | complete -c zola -n "__fish_seen_subcommand_from build" -s u -l base-url -d 'Force the base URL to be that value (default to the one in config.toml)' | ||
| 12 | complete -c zola -n "__fish_seen_subcommand_from build" -s o -l output-dir -d 'Outputs the generated site in the given path' | ||
| 13 | complete -c zola -n "__fish_seen_subcommand_from build" -l drafts -d 'Include drafts when loading the site' | ||
| 14 | complete -c zola -n "__fish_seen_subcommand_from build" -s h -l help -d 'Prints help information' | ||
| 15 | complete -c zola -n "__fish_seen_subcommand_from build" -s V -l version -d 'Prints version information' | ||
| 16 | complete -c zola -n "__fish_seen_subcommand_from serve" -s i -l interface -d 'Interface to bind on' | ||
| 17 | complete -c zola -n "__fish_seen_subcommand_from serve" -s p -l port -d 'Which port to use' | ||
| 18 | complete -c zola -n "__fish_seen_subcommand_from serve" -s o -l output-dir -d 'Outputs the generated site in the given path' | ||
| 19 | complete -c zola -n "__fish_seen_subcommand_from serve" -s u -l base-url -d 'Changes the base_url' | ||
| 20 | complete -c zola -n "__fish_seen_subcommand_from serve" -l watch-only -d 'Do not start a server, just re-build project on changes' | ||
| 21 | complete -c zola -n "__fish_seen_subcommand_from serve" -l drafts -d 'Include drafts when loading the site' | ||
| 22 | complete -c zola -n "__fish_seen_subcommand_from serve" -s O -l open -d 'Open site in the default browser' | ||
| 23 | complete -c zola -n "__fish_seen_subcommand_from serve" -s h -l help -d 'Prints help information' | ||
| 24 | complete -c zola -n "__fish_seen_subcommand_from serve" -s V -l version -d 'Prints version information' | ||
| 25 | complete -c zola -n "__fish_seen_subcommand_from check" -l drafts -d 'Include drafts when loading the site' | ||
| 26 | complete -c zola -n "__fish_seen_subcommand_from check" -s h -l help -d 'Prints help information' | ||
| 27 | complete -c zola -n "__fish_seen_subcommand_from check" -s V -l version -d 'Prints version information' | ||
| 28 | complete -c zola -n "__fish_seen_subcommand_from help" -s h -l help -d 'Prints help information' | ||
| 29 | complete -c zola -n "__fish_seen_subcommand_from help" -s V -l version -d 'Prints version information' | ||
