2018-07-18 16:05:28 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# run with more compatible TERM value
|
|
|
|
typeset -A terms=(
|
2021-06-08 20:27:36 +03:00
|
|
|
[alacritty]='xterm'
|
2020-02-11 14:10:03 +02:00
|
|
|
[xterm-kitty]='xterm'
|
2018-07-18 16:05:28 +03:00
|
|
|
[rxvt-unicode-256color]='rxvt-unicode'
|
|
|
|
[st-256color]='xterm-256color'
|
|
|
|
[tmux-256color]='screen.xterm-new'
|
|
|
|
)
|
|
|
|
TERM="${terms[$TERM]:-$TERM}" exec "$@"
|