From 0026810ce56093e3d67efb50cd9841e2ba114d93 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 1 Jan 2014 05:06:39 +0400 Subject: [PATCH] Order the list of terminals alphabetically --- .profile | 6 +++--- .vimrc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.profile b/.profile index 9a88f80..97a6624 100644 --- a/.profile +++ b/.profile @@ -67,7 +67,7 @@ if [ -t 0 ] ; then export BACKGROUND ;; - *term*|*rxvt*|vt100|screen*) + *rxvt*|screen*|*term*|vt100) BACKGROUND=LIGHT export BACKGROUND ;; @@ -111,7 +111,7 @@ if [ -t 0 ] ; then BROWSER="links2:links:elinks:w3m:lynx" case "$TERM" in - *term*|*rxvt*|vt100|screen*) + *rxvt*|screen*|*term*|vt100) BROWSER="l:$BROWSER" ;; esac @@ -144,7 +144,7 @@ if [ -t 0 ] ; then export OPS1 case "$TERM" in - *term*|*rxvt*|vt100|screen*) + *rxvt*|screen*|*term*|vt100) if [ -x "`which xtitle 2>/dev/null`" ]; then PROMPT_COMMAND=xtitle export PROMPT_COMMAND diff --git a/.vimrc b/.vimrc index aed3f7f..194e418 100644 --- a/.vimrc +++ b/.vimrc @@ -215,7 +215,7 @@ else highlight Question cterm=bold ctermfg=NONE endif - if (&term =~ "term") || (&term =~ "rxvt") || (&term =~ "vt100") || (&term =~ "screen") + if (&term =~ "rxvt") || (&term =~ "screen") || (&term =~ "term") || (&term =~ "vt100") set = " 'autoselect' to always put selected text on the clipboard; -- 2.39.5