2021-10-23 07:16:47 +00:00
|
|
|
# Available subcommands
|
|
|
|
set -l commands msg help
|
|
|
|
|
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
|
|
|
-a "msg help"
|
|
|
|
|
2018-03-12 17:13:48 +00:00
|
|
|
# Meta
|
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from help" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "v" \
|
|
|
|
-l "version" \
|
|
|
|
-d "Prints version information"
|
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from help" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "h" \
|
|
|
|
-l "help" \
|
|
|
|
-d "Prints help information"
|
|
|
|
|
|
|
|
# Config
|
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-f \
|
|
|
|
-l "config-file" \
|
|
|
|
-d "Specify an alternative config file"
|
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2019-07-08 15:19:42 +00:00
|
|
|
-s "t" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-l "title" \
|
|
|
|
-d "Defines the window title"
|
2019-07-08 15:19:42 +00:00
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2019-07-08 15:19:42 +00:00
|
|
|
-l "class" \
|
|
|
|
-d "Defines the window class"
|
2019-09-24 17:43:54 +00:00
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2019-09-24 17:43:54 +00:00
|
|
|
-l "embed" \
|
|
|
|
-d "Defines the X11 window ID (as a decimal integer) to embed Alacritty within"
|
2018-03-12 17:13:48 +00:00
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-x \
|
|
|
|
-a '(__fish_complete_directories (commandline -ct))' \
|
|
|
|
-l "working-directory" \
|
|
|
|
-d "Start shell in specified directory"
|
2019-10-09 21:37:48 +00:00
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2019-10-09 21:37:48 +00:00
|
|
|
-l "hold" \
|
|
|
|
-d "Remain open after child process exits"
|
2021-01-17 11:22:06 +00:00
|
|
|
complete -c alacritty \
|
2021-10-23 07:16:47 +00:00
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2021-01-17 11:22:06 +00:00
|
|
|
-s "o" \
|
|
|
|
-l "option" \
|
|
|
|
-d "Override config file options"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
|
|
|
-l "socket" \
|
|
|
|
-d "Path for IPC socket creation"
|
2018-03-12 17:13:48 +00:00
|
|
|
|
|
|
|
# Output
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-l "print-events" \
|
|
|
|
-d "Print all events to stdout"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "q" \
|
|
|
|
-d "Reduces the level of verbosity (min is -qq)"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "qq" \
|
|
|
|
-d "Reduces the level of verbosity"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "v" \
|
|
|
|
-d "Increases the level of verbosity"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "vv" \
|
|
|
|
-d "Increases the level of verbosity"
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-s "vvv" \
|
|
|
|
-d "Increases the level of verbosity"
|
|
|
|
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-12 17:13:48 +00:00
|
|
|
-l "ref-test" \
|
|
|
|
-d "Generates ref test"
|
2018-03-13 01:16:05 +00:00
|
|
|
|
2021-10-23 07:16:47 +00:00
|
|
|
complete -c alacritty \
|
|
|
|
-n "not __fish_seen_subcommand_from $commands" \
|
2018-03-13 01:16:05 +00:00
|
|
|
-s "e" \
|
|
|
|
-l "command" \
|
|
|
|
-d "Execute command (must be last arg)"
|
2021-10-23 07:16:47 +00:00
|
|
|
|
|
|
|
# Subcommand `msg`
|
|
|
|
complete -c alacritty \
|
|
|
|
-n "__fish_seen_subcommand_from msg" \
|
|
|
|
-s "s" \
|
|
|
|
-l "socket" \
|
|
|
|
-d "Socket path override"
|
|
|
|
complete -c alacritty \
|
|
|
|
-n "__fish_seen_subcommand_from msg" \
|
|
|
|
-a "create-window help"
|