diff options
author | mkosem <mattkosem@gmail.com> | 2019-09-24 13:43:54 -0400 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-09-24 19:43:54 +0200 |
commit | c1f089970fd3d4b9137d07647f8cd028b2b5b3a9 (patch) | |
tree | b8a8d9a62fa387f6b30e83b046f8beb4c521dbd7 /extra/completions | |
parent | 856cddc8739c32d8bbfff72dd3692f49359142a9 (diff) |
Add Xembed support
Fixes #631.
Diffstat (limited to 'extra/completions')
-rw-r--r-- | extra/completions/_alacritty | 1 | ||||
-rw-r--r-- | extra/completions/alacritty.bash | 2 | ||||
-rw-r--r-- | extra/completions/alacritty.fish | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/extra/completions/_alacritty b/extra/completions/_alacritty index e9b0656f..c2fb29c2 100644 --- a/extra/completions/_alacritty +++ b/extra/completions/_alacritty @@ -14,6 +14,7 @@ _arguments \ '(-q)'{-v,-vv,-vvv}"[increase the level of verbosity (max is -vvv)]" \ "$ign(-)"{-V,--version}"[print version information]" \ "--class=[define the window class]:class" \ + "--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" \ diff --git a/extra/completions/alacritty.bash b/extra/completions/alacritty.bash index fc39eb17..d87dd215 100644 --- a/extra/completions/alacritty.bash +++ b/extra/completions/alacritty.bash @@ -11,7 +11,7 @@ _alacritty() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" prevprev="${COMP_WORDS[COMP_CWORD-2]}" - opts="-h --help -V --version --live-config-reload --no-live-config-reload --persistent-logging --print-events -q -qq -v -vv -vvv --ref-test -e --command --config-file -d --dimensions --position -t --title --class --working-directory" + opts="-h --help -V --version --live-config-reload --no-live-config-reload --persistent-logging --print-events -q -qq -v -vv -vvv --ref-test -e --command --config-file -d --dimensions --position -t --title --embed --class --working-directory" # If `--command` or `-e` is used, stop completing for i in "${!COMP_WORDS[@]}"; do diff --git a/extra/completions/alacritty.fish b/extra/completions/alacritty.fish index dedf6c47..3daa3447 100644 --- a/extra/completions/alacritty.fish +++ b/extra/completions/alacritty.fish @@ -30,6 +30,9 @@ complete -c alacritty \ -l "class" \ -d "Defines the window class" complete -c alacritty \ + -l "embed" \ + -d "Defines the X11 window ID (as a decimal integer) to embed Alacritty within" +complete -c alacritty \ -x \ -a '(__fish_complete_directories (commandline -ct))' \ -l "working-directory" \ |