replace ssh-compat with termcompat as a more versatile tool
This commit is contained in:
parent
761780524c
commit
1856014398
2 changed files with 8 additions and 9 deletions
8
termcompat
Executable file
8
termcompat
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# run with more compatible TERM value
|
||||
typeset -A terms=(
|
||||
[rxvt-unicode-256color]='rxvt-unicode'
|
||||
[st-256color]='xterm-256color'
|
||||
[tmux-256color]='screen.xterm-new'
|
||||
)
|
||||
TERM="${terms[$TERM]:-$TERM}" exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue