X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2FTERM.bashrc;fp=.profile.d%2FTERM.bashrc;h=f9132c0cf0c2984d1659b3ac97346ffc2c12c26f;hb=104b025d33b8cf5f9d42bda3ac3d158eb7a07701;hp=0000000000000000000000000000000000000000;hpb=bcde0b33db971e047dcbcc241669d622b15fc5af;p=profile.git diff --git a/.profile.d/TERM.bashrc b/.profile.d/TERM.bashrc new file mode 100644 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