]> git.phdru.name Git - dotfiles.git/commitdiff
Order the list of terminals alphabetically
authorOleg Broytman <phd@phdru.name>
Wed, 1 Jan 2014 01:06:39 +0000 (05:06 +0400)
committerOleg Broytman <phd@phdru.name>
Wed, 1 Jan 2014 01:06:39 +0000 (05:06 +0400)
.profile
.vimrc

index 9a88f80445d5de506b6c8ba253dc70d04a7532b1..97a6624a1016279052b3df431edec910c8f38237 100644 (file)
--- 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 aed3f7f57d24363fda5e3b5cf943446d311899dc..194e4184358050ba8388eac210a2ef81a8e56365 100644 (file)
--- 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 <BS>=\7f
 
       " 'autoselect' to always put selected text on the clipboard;