git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First crack at auto resizing Qn mode for vim.
[profile.git]
/
.profile.d
/
TERM.bashrc
diff --git a/.profile.d/TERM.bashrc
b/.profile.d/TERM.bashrc
new file mode 100644
(file)
index 0000000..
f9132c0
--- /dev/null
+++ b/
.profile.d/TERM.bashrc
@@ -0,0
+1,13
@@
+# $Id$
+#
+# Try to find a valid TERM entry.
+#
+
+for term in linux dtterm xterm vt100; do
+ if has_term $term; then
+ export TERM=$term
+ break
+ fi
+done
+
+unset term