1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-03 04:34:21 -05:00
alacritty/extra/completions/alacritty.fish
Jason 34435ed776
Update shell completions
This fixes the shell completion by removing the flags removed from the
CLI in 0768428 and adding the new options flag.
2021-01-17 11:22:06 +00:00

74 lines
1.5 KiB
Fish

# 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 \
-f \
-l "config-file" \
-d "Specify an alternative config file"
complete -c alacritty \
-s "t" \
-l "title" \
-d "Defines the window title"
complete -c alacritty \
-l "class" \
-d "Defines the window class"
complete -c alacritty \
-l "embed" \
-d "Defines the X11 window ID (as a decimal integer) to embed Alacritty within"
complete -c alacritty \
-x \
-a '(__fish_complete_directories (commandline -ct))' \
-l "working-directory" \
-d "Start shell in specified directory"
complete -c alacritty \
-l "hold" \
-d "Remain open after child process exits"
complete -c alacritty \
-s "o" \
-l "option" \
-d "Override config file options"
# 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"
complete \
-c alacritty \
-s "e" \
-l "command" \
-d "Execute command (must be last arg)"