diff --git a/bashrc b/bashrc index b7fcf52..bd17951 100755 --- a/bashrc +++ b/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" diff --git a/vimrc b/vimrc index a4cb26f..593ea12 100644 --- a/vimrc +++ b/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