alacritty/extra/completions/alacritty.fish

105 lines
2.8 KiB
Fish
Raw Normal View History

# 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 \
-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 \
-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 \
-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 \
-n "not __fish_seen_subcommand_from $commands" \
-s "t" \
2018-03-12 17:13:48 +00:00
-l "title" \
-d "Defines the window title"
complete -c alacritty \
-n "not __fish_seen_subcommand_from $commands" \
-l "class" \
-d "Defines the window class"
2019-09-24 17:43:54 +00:00
complete -c alacritty \
-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 \
-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"
complete -c alacritty \
-n "not __fish_seen_subcommand_from $commands" \
-l "hold" \
-d "Remain open after child process exits"
complete -c alacritty \
-n "not __fish_seen_subcommand_from $commands" \
-s "o" \
-l "option" \
-d "Override config file options"
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
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"
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)"
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"
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"
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"
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"
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
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)"
# 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"