random script dump
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

termcompat 236B

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