vscripts/termcompat

15 lines
278 B
Text
Raw Normal View History

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