summaryrefslogtreecommitdiff
path: root/extra/completions/_alacritty
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-04-01 22:41:20 +0000
committerGitHub <noreply@github.com>2019-04-01 22:41:20 +0000
commit6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0 (patch)
treebd2c870aea77c683e0725a59d1c8ce1f817dba7d /extra/completions/_alacritty
parent5523f64c6f939ced94d55c569f592320442e8eb9 (diff)
downloadalacritty-6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0.tar.gz
alacritty-6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0.zip
Add official logov0.3.0-rc2
Diffstat (limited to 'extra/completions/_alacritty')
-rw-r--r--extra/completions/_alacritty25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/completions/_alacritty b/extra/completions/_alacritty
new file mode 100644
index 00000000..0d3df1c3
--- /dev/null
+++ b/extra/completions/_alacritty
@@ -0,0 +1,25 @@
+#compdef alacritty
+
+_alacritty() {
+ local context curcontext="$curcontext" state line
+ typeset -A opt_args
+
+ _arguments \
+ "(-h --help)"{-h,--help}"[Prints help information]" \
+ "(-V --version)"{-V,--version}"[Prints version 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]" \
+ {-q,-qq}"[Reduces the level of verbosity (min is -qq)]" \
+ {-v,-vv,-vvv}"[Increases the level of verbosity (max is -vvv)]" \
+ "--ref-test[Generates ref test]" \
+ "--config-file[Specify an alternative config file]:file:_files" \
+ "(-d --dimensions)"{-d,--dimensions}"[Window dimensions]:dimensions:_guard '<->' width: :_guard '<->' length" \
+ "--position[Window position]:position:_guard '<->' x-pos: :_guard '<->' y-pos" \
+ "--title[Defines the window title]:title:" \
+ "--working-directory[Start shell in specified directory]:directory:_dir_list" \
+ "(-e --command)"{-e,--command}"[Execute command (must be last arg)]:program: _command_names -e:*::program arguments: _normal"
+}
+
+_alacritty "$@"