vscripts/termcompat
2022-10-24 00:12:46 +03:00

14 lines
278 B
Bash
Executable file

#!/usr/bin/env zsh
# run with more compatible TERM value
case $TERM in
(st-*) ;&
(alacritty*) ;&
(xterm-kitty) ;&
export TERM=xterm;;
(rxvt-unicode-*)
export TERM=rxvt-unicode;;
(tmux-*)
export TERM=screen.xterm-new;;
esac
exec "$@"