mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Add fish shell completions
This commit is contained in:
parent
cb05e72be2
commit
753d1b00b4
1 changed files with 60 additions and 0 deletions
60
alacritty-completions.fish
Normal file
60
alacritty-completions.fish
Normal file
|
@ -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"
|
Loading…
Reference in a new issue