summaryrefslogtreecommitdiffstats
path: root/extra/completions/alacritty.bash
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.bash
parent6566dd3defa9f080dabb295740dc1dac06e3b8fb (diff)
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.bash')
-rw-r--r--extra/completions/alacritty.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/completions/alacritty.bash b/extra/completions/alacritty.bash
index 5cca6466..60025f5f 100644
--- a/extra/completions/alacritty.bash
+++ b/extra/completions/alacritty.bash
@@ -31,7 +31,7 @@ _alacritty() {
case "${cmd}" in
alacritty)
- opts="-h -V -q -v -o -e -t --help --version --print-events --ref-test --embed --config-file --socket --option --working-directory --hold --command --title --class msg help"
+ opts="-h -V -q -v -o -e -T --help --version --print-events --ref-test --embed --config-file --socket --option --working-directory --hold --command --title --class msg help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -73,7 +73,7 @@ _alacritty() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- -t)
+ -T)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
@@ -147,7 +147,7 @@ _alacritty() {
return 0
;;
alacritty__msg__create__window)
- opts="-e -t -h --working-directory --hold --command --title --class --help"
+ opts="-e -T -h --working-directory --hold --command --title --class --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -169,7 +169,7 @@ _alacritty() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- -t)
+ -T)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;