blob: 0681c66ecbf9d3a27995f8d346a99df448c2c3ac (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
# run with more compatible TERM value
typeset -A terms=(
[xterm-kitty]='xterm'
[rxvt-unicode-256color]='rxvt-unicode'
[st-256color]='xterm-256color'
[tmux-256color]='screen.xterm-new'
)
TERM="${terms[$TERM]:-$TERM}" exec "$@"
|