From: Oleg Broytman Date: Wed, 1 Jan 2014 01:06:39 +0000 (+0400) Subject: Order the list of terminals alphabetically X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=0026810ce56093e3d67efb50cd9841e2ba114d93 Order the list of terminals alphabetically --- 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;