Browse Source

add env TERM_ORIG, which save TERM whose val isnt screen*

pull/1/head
10sr 12 years ago
parent
commit
ab77e19b5c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      bashrc
  2. +1
    -1
      vimrc

+ 1
- 0
bashrc View File

@@ -50,6 +50,7 @@ export LC_MESSAGES=C
export VISUAL="$EDITOR"
export GIT_PAGER="$PAGER"
export GIT_EDITOR="$EDITOR"
echo "$TERM" | grep '^screen' >/dev/null 2>&1 || export TERM_ORIG=$TERM

test -z "$TMP" && export TMP=/tmp/${USER}-tmp
mkdir -p "$TMP"


+ 1
- 1
vimrc View File

@@ -26,7 +26,7 @@ set mouse=h " do not use mouse
set clipboard+=unnamed " use x clipboard, seems not to work
set browsedir=buffer " default dir for Explorer

" lang
" encoding
set encoding=utf-8
set fileencodings=utf-8,shift-jis,euc-jp,latin1



Loading…
Cancel
Save