summaryrefslogtreecommitdiff
path: root/extra/completions/_alacritty
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-12-10 19:54:06 -0500
committerGitHub <noreply@github.com>2022-12-11 00:54:06 +0000
commita152365c143e3b7c6221b4edb95d383e365ef65b (patch)
treecd9e077c5e420f5bdf0b7f16dd76b7f59f38d3a1 /extra/completions/_alacritty
parent6566dd3defa9f080dabb295740dc1dac06e3b8fb (diff)
downloadalacritty-a152365c143e3b7c6221b4edb95d383e365ef65b.tar.gz
alacritty-a152365c143e3b7c6221b4edb95d383e365ef65b.zip
Add -T short form for --title
Debian-based distributions provide a standard interface to launch a terminal via the x-terminal-emulator name. In order for a terminal emualtor to satisfy that interface, it must * Be VT100 compatiable * Support the "-e <command> <args>" CLI option * Support the "-T <title>" CLI option Adjust the short form of --title accordingly, providing -t as an alias to avoid breaking any existing usage.
Diffstat (limited to 'extra/completions/_alacritty')
-rw-r--r--extra/completions/_alacritty4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/completions/_alacritty b/extra/completions/_alacritty
index 19eb9a0e..b9ae3518 100644
--- a/extra/completions/_alacritty
+++ b/extra/completions/_alacritty
@@ -23,7 +23,7 @@ _alacritty() {
'--working-directory=[Start the shell in the specified working directory]:WORKING_DIRECTORY:_files' \
'*-e+[Command and args to execute (must be last argument)]:COMMAND: ' \
'*--command=[Command and args to execute (must be last argument)]:COMMAND: ' \
-'-t+[Defines the window title \[default: Alacritty\]]:TITLE: ' \
+'-T+[Defines the window title \[default: Alacritty\]]:TITLE: ' \
'--title=[Defines the window title \[default: Alacritty\]]:TITLE: ' \
'--class=[Defines window class/app_id on X11/Wayland \[default: Alacritty\]]:general> | <general>,<instance: ' \
'-h[Print help information]' \
@@ -65,7 +65,7 @@ _arguments "${_arguments_options[@]}" \
'--working-directory=[Start the shell in the specified working directory]:WORKING_DIRECTORY:_files' \
'*-e+[Command and args to execute (must be last argument)]:COMMAND: ' \
'*--command=[Command and args to execute (must be last argument)]:COMMAND: ' \
-'-t+[Defines the window title \[default: Alacritty\]]:TITLE: ' \
+'-T+[Defines the window title \[default: Alacritty\]]:TITLE: ' \
'--title=[Defines the window title \[default: Alacritty\]]:TITLE: ' \
'--class=[Defines window class/app_id on X11/Wayland \[default: Alacritty\]]:general> | <general>,<instance: ' \
'--hold[Remain open after child process exit]' \