1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/extra/completions/_alacritty

24 lines
1.3 KiB
Text
Raw Normal View History

#compdef alacritty
local ign
(( $#words > 2 )) && ign='!'
_arguments \
"$ign(-)"{-h,--help}"[print help information]" \
"(--no-live-config-reload)--live-config-reload[enable automatic config reloading]" \
"(--live-config-reload)--no-live-config-reload[disable automatic config reloading]" \
"(--persistent-logging)--persistent-logging[keep the log file after quitting Alacritty]" \
"--print-events[print all events to stdout]" \
'(-v)'{-q,-qq}"[reduce the level of verbosity (min is -qq)]" \
"--ref-test[generate ref test]" \
'(-q)'{-v,-vv,-vvv}"[increase the level of verbosity (max is -vvv)]" \
"$ign(-)"{-V,--version}"[print version information]" \
"--class=[define the window class]:class" \
2019-09-24 13:43:54 -04:00
"--embed=[define the X11 window ID (as a decimal integer) to embed Alacritty within]:windowId" \
"(-e --command)"{-e,--command}"[execute command (must be last arg)]:program: _command_names -e:*::program arguments: _normal" \
"--config-file=[specify an alternative config file]:file:_files" \
"(-d --dimensions)"{-d,--dimensions}"[specify window dimensions]:columns: :lines" \
"--position[specify window position]:x position: :y position" \
"(-t --title)"{-t+,--title=}"[define the window title]:title" \
"--working-directory=[start shell in specified directory]:directory:_directories"