feat(termsupport): support `alacritty*` TERM (#12392)
Closes #12391
Diff
1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
2index d170ffcbfb150c2e948f863035355a6126ca3aa0..087bae9bb809c0e92f00b1f20ebc5dae12ffbb59 100644
3--- a/lib/termsupport.zsh
4+++ b/lib/termsupport.zsh
5@@ -17,7 +17,7 @@ function title {
6 : ${2=$1}
7 8 case "$TERM" in
9- cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty|st*|foot*|contour*)
10+ cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty*|st*|foot*|contour*)
11 print -Pn "\e]2;${2:q}\a" # set window name
12 print -Pn "\e]1;${1:q}\a" # set tab name
13 ;;
14@@ -129,7 +129,7 @@ fi
15 # Don't define the function if we're in an unsupported terminal
16 case "$TERM" in
17 # all of these either process OSC 7 correctly or ignore entirely
18- xterm*|putty*|rxvt*|konsole*|mlterm*|alacritty|screen*|tmux*) ;;
19+ xterm*|putty*|rxvt*|konsole*|mlterm*|alacritty*|screen*|tmux*) ;;
20 contour*|foot*) ;;
21 *)
22 # Terminal.app and iTerm2 process OSC 7 correctly