瀏覽代碼

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

pull/1/head
10sr 12 年之前
父節點
當前提交
ab77e19b5c
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      bashrc
  2. +1
    -1
      vimrc

+ 1
- 0
bashrc 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存