git://git.iain.cx/iain
/
profile.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't leak file descriptor.
[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
cygwin|linux|sun-color)
5
export RESIZABLE=0
6
;;
7
8
# Terminals we CANNOT know about.
9
screen*)
10
[ "$RESIZABLE" = "0" ] || RESIZABLE="$TERM"
11
export RESIZABLE
12
;;
13
14
# Anything else we'll assume can be.
15
*)
16
export RESIZABLE="$TERM"
17
;;
18
esac