2018-03-07 16:34:05 -05:00
|
|
|
#compdef alacritty
|
|
|
|
|
2019-08-24 20:45:48 -04:00
|
|
|
local ign
|
2018-03-07 16:34:05 -05:00
|
|
|
|
2019-08-24 20:45:48 -04:00
|
|
|
(( $#words > 2 )) && ign='!'
|
|
|
|
_arguments \
|
|
|
|
"$ign(-)"{-h,--help}"[print help information]" \
|
|
|
|
"--print-events[print all events to stdout]" \
|
|
|
|
'(-v)'{-q,-qq}"[reduce the level of verbosity (min is -qq)]" \
|
|
|
|
"--ref-test[generate ref test]" \
|
2019-10-09 17:37:48 -04:00
|
|
|
"--hold[remain open after child process exits]" \
|
2019-08-24 20:45:48 -04:00
|
|
|
'(-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" \
|
2019-08-24 20:45:48 -04:00
|
|
|
"(-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" \
|
2021-01-17 06:22:06 -05:00
|
|
|
"*"{-o=,--option=}"[override config file options]:option" \
|
|
|
|
"(-t --title)"{-t=,--title=}"[define the window title]:title" \
|
2019-08-24 20:45:48 -04:00
|
|
|
"--working-directory=[start shell in specified directory]:directory:_directories"
|