summaryrefslogtreecommitdiffstats
path: root/.config/fish
diff options
context:
space:
mode:
authorYigit Sever2021-11-14 02:49:11 +0300
committerYigit Sever2021-11-14 02:49:11 +0300
commit34966f345bee30f36ee82b995dcc829b01705c2e (patch)
tree8766c18bd98d81ecb1cbf91fef79cf2e2ee38994 /.config/fish
parentcbb295cfd051687dd66117692c8a202c4e1d5ce1 (diff)
downloaddotfiles-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.fish29
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 @@
1complete -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'
2complete -c zola -n "__fish_use_subcommand" -s h -l help -d 'Prints help information'
3complete -c zola -n "__fish_use_subcommand" -s V -l version -d 'Prints version information'
4complete -c zola -n "__fish_use_subcommand" -f -a "init" -d 'Create a new Zola project'
5complete -c zola -n "__fish_use_subcommand" -f -a "build" -d 'Deletes the output directory if there is one and builds the site'
6complete -c zola -n "__fish_use_subcommand" -f -a "serve" -d 'Serve the site. Rebuild and reload on change automatically'
7complete -c zola -n "__fish_use_subcommand" -f -a "check" -d 'Try building the project without rendering it. Checks links'
8complete -c zola -n "__fish_use_subcommand" -f -a "help" -d 'Prints this message or the help of the given subcommand(s)'
9complete -c zola -n "__fish_seen_subcommand_from init" -s h -l help -d 'Prints help information'
10complete -c zola -n "__fish_seen_subcommand_from init" -s V -l version -d 'Prints version information'
11complete -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)'
12complete -c zola -n "__fish_seen_subcommand_from build" -s o -l output-dir -d 'Outputs the generated site in the given path'
13complete -c zola -n "__fish_seen_subcommand_from build" -l drafts -d 'Include drafts when loading the site'
14complete -c zola -n "__fish_seen_subcommand_from build" -s h -l help -d 'Prints help information'
15complete -c zola -n "__fish_seen_subcommand_from build" -s V -l version -d 'Prints version information'
16complete -c zola -n "__fish_seen_subcommand_from serve" -s i -l interface -d 'Interface to bind on'
17complete -c zola -n "__fish_seen_subcommand_from serve" -s p -l port -d 'Which port to use'
18complete -c zola -n "__fish_seen_subcommand_from serve" -s o -l output-dir -d 'Outputs the generated site in the given path'
19complete -c zola -n "__fish_seen_subcommand_from serve" -s u -l base-url -d 'Changes the base_url'
20complete -c zola -n "__fish_seen_subcommand_from serve" -l watch-only -d 'Do not start a server, just re-build project on changes'
21complete -c zola -n "__fish_seen_subcommand_from serve" -l drafts -d 'Include drafts when loading the site'
22complete -c zola -n "__fish_seen_subcommand_from serve" -s O -l open -d 'Open site in the default browser'
23complete -c zola -n "__fish_seen_subcommand_from serve" -s h -l help -d 'Prints help information'
24complete -c zola -n "__fish_seen_subcommand_from serve" -s V -l version -d 'Prints version information'
25complete -c zola -n "__fish_seen_subcommand_from check" -l drafts -d 'Include drafts when loading the site'
26complete -c zola -n "__fish_seen_subcommand_from check" -s h -l help -d 'Prints help information'
27complete -c zola -n "__fish_seen_subcommand_from check" -s V -l version -d 'Prints version information'
28complete -c zola -n "__fish_seen_subcommand_from help" -s h -l help -d 'Prints help information'
29complete -c zola -n "__fish_seen_subcommand_from help" -s V -l version -d 'Prints version information'