diff options
author | Jesse Cooke <jesse@jc00ke.com> | 2018-03-12 10:13:48 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-03-12 23:06:04 -0700 |
commit | 753d1b00b43fbf745c0ce02203c54292bcf15d39 (patch) | |
tree | 7b2110caf68e2e230c7ed3454afbe3f6108b8652 /alacritty-completions.fish | |
parent | cb05e72be2fcf7e78bff99e4316f19510bf4f502 (diff) | |
download | alacritty-753d1b00b43fbf745c0ce02203c54292bcf15d39.tar.gz alacritty-753d1b00b43fbf745c0ce02203c54292bcf15d39.zip |
Add fish shell completions
Diffstat (limited to 'alacritty-completions.fish')
-rw-r--r-- | alacritty-completions.fish | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/alacritty-completions.fish b/alacritty-completions.fish new file mode 100644 index 00000000..bb3999f8 --- /dev/null +++ b/alacritty-completions.fish @@ -0,0 +1,60 @@ +# Meta +complete -c alacritty \ + -s "v" \ + -l "version" \ + -d "Prints version information" +complete -c alacritty \ + -s "h" \ + -l "help" \ + -d "Prints help information" + +# Config +complete -c alacritty \ + -l "live-config-reload" \ + -d "Enable automatic config reloading" +complete -c alacritty \ + -l "no-live-config-reload" \ + -d "Disable automatic config reloading" +complete -c alacritty \ + -f \ + -l "config-file" \ + -d "Specify an alternative config file" +complete -c alacritty \ + -l "title" \ + -d "Defines the window title" +complete -c alacritty \ + -x \ + -a '(__fish_complete_directories (commandline -ct))' \ + -l "working-directory" \ + -d "Start shell in specified directory" + +# Output +complete \ + -c alacritty \ + -l "print-events" \ + -d "Print all events to stdout" +complete \ + -c alacritty \ + -s "q" \ + -d "Reduces the level of verbosity (min is -qq)" +complete \ + -c alacritty \ + -s "qq" \ + -d "Reduces the level of verbosity" +complete \ + -c alacritty \ + -s "v" \ + -d "Increases the level of verbosity" +complete \ + -c alacritty \ + -s "vv" \ + -d "Increases the level of verbosity" +complete \ + -c alacritty \ + -s "vvv" \ + -d "Increases the level of verbosity" + +complete \ + -c alacritty \ + -l "ref-test" \ + -d "Generates ref test" |