summaryrefslogtreecommitdiff
path: root/termcompat
blob: 4598304abcfbc7df7bc45cac43c050ab91b064d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 "$@"