You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash |
|
# run with more compatible TERM value |
|
typeset -A terms=( |
|
[alacritty]='xterm' |
|
[xterm-kitty]='xterm' |
|
[rxvt-unicode-256color]='rxvt-unicode' |
|
[st-256color]='xterm-256color' |
|
[tmux-256color]='screen.xterm-new' |
|
) |
|
TERM="${terms[$TERM]:-$TERM}" exec "$@"
|
|
|