# Can we resize this window? case "$TERM" in # Terminals we KNOW can't be resized. # screen and screen-256color are included to support tmux. Real screen # will set TERM to screen-256color-bce and we drop through. cygwin|linux|screen|screen-256color|sun-color) export RESIZABLE=0 ;; # Terminals we CANNOT know about. screen*) [ "$RESIZABLE" = "0" ] || RESIZABLE="$TERM" export RESIZABLE ;; # Anything else we'll assume can be. *) export RESIZABLE="$TERM" ;; esac