diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/alacritty.man | 3 | ||||
-rw-r--r-- | extra/completions/_alacritty | 1 | ||||
-rw-r--r-- | extra/completions/alacritty.bash | 2 | ||||
-rw-r--r-- | extra/completions/alacritty.fish | 3 |
4 files changed, 8 insertions, 1 deletions
diff --git a/extra/alacritty.man b/extra/alacritty.man index dc0f9096..fafb10c3 100644 --- a/extra/alacritty.man +++ b/extra/alacritty.man @@ -57,6 +57,9 @@ Defines the window position. Falls back to position specified by window manager \fB\-t\fR, \fB\-\-title\fR <title> Defines the window title [default: Alacritty] .TP +\fB\-\-embed\fR <parent> +Defines the X11 window ID (as a decimal integer) to embed Alacritty within +.TP \fB\-\-working\-directory\fR <working\-directory> Start the shell in the specified working directory .SH "SEE ALSO" 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" \ |