Use 256-colour urxvt if available.
[profile.git] / .profile.d / resize.bashrc
1 # Can we resize this window?
2 case "$TERM" in
3   # Terminals we KNOW can't be resized.
4   # screen and screen-256color are included to support tmux.  Real screen
5   # will set TERM to screen-256color-bce and we drop through.
6   cygwin|linux|screen|screen-256color|sun-color)
7     export RESIZABLE=0
8   ;;
9
10   # Terminals we CANNOT know about.
11   screen*)
12     [ "$RESIZABLE" = "0" ] || RESIZABLE="$TERM"
13     export RESIZABLE
14   ;;
15
16   # Anything else we'll assume can be.
17   *)
18     export RESIZABLE="$TERM"
19   ;;
20 esac