Skip to content

Commit

Permalink
utf-8化/m.sc.tir.ne.jp用に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
ayamada committed Dec 27, 2011
1 parent d18c2fd commit 30c4a5c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
5 changes: 5 additions & 0 deletions nekoie/dotfiles/.bash_login
Expand Up @@ -17,6 +17,8 @@
# この辺は、コマンドの有無で、PATHに追加するかを決めるように、
# あとで上手い事修正する事。

export HOSTNAME=`hostname -f`

case ${HOSTNAME} in
mana)
PATH=/usr/local/ymir/subversion/bin:/usr/local/gauche/bin:/usr/local/ymir/perl/bin:$HOME/bin:/usr/local/bin:/usr/bin:/bin
Expand All @@ -28,6 +30,9 @@ esac

export PATH MANPATH

#export LANG=C
export LANG=ja_JP.utf8

case ${TERM} in
*term*)
printf "\033]0;${USER}@${HOSTNAME}\007" # kterm title change
Expand Down
9 changes: 7 additions & 2 deletions nekoie/dotfiles/.screenrc
@@ -1,11 +1,15 @@
# $Id$
defencoding eucJP
defkanji eucJP
defencoding utf8
defkanji utf8
#cjkwidth on

startup_message off

multiuser on
#acladd nekoie

shell -bash

# ü���Dz��ԤΥ��ơ�������ο�����
# ���ο��ϡ�screen���ؤ���host�ˤ�ä��Ѥ��������ġŤɤ�����Ф�����
# .zshrc���ѹ����뤫�ġ�
Expand Down Expand Up @@ -38,6 +42,7 @@ msgwait 1
# ̵����Ȼפ�
#caption splitonly
caption splitonly "[%02c][%2n %t] %=%W"
#caption always "[%02c][%2n %t] %=%W"
#caption always '%3n %t %= %c:%s'
#caption always "[%n %t] %W %l %Y/%m/%d %c"
# ������ϻ��ꤷ��������w3m���ѻ��ˤϽФ�����̵���Τǡ�.zshrc����¹Ԥ���
Expand Down
1 change: 1 addition & 0 deletions nekoie/dotfiles/.vimrc
Expand Up @@ -11,6 +11,7 @@ match strong /

set nocp
set history=256
set encoding=utf-8
set fileencodings-=ucs-2le,ucs-2
set fileformats=unix,dos,mac
"set list
Expand Down
18 changes: 10 additions & 8 deletions nekoie/dotfiles/.zsh/environ
Expand Up @@ -4,7 +4,8 @@

SHELL=zsh # bash経由で起動する場合に役立つ

LANG=C # 邪魔な日本語メッセージを出さない
#LANG=C # 邪魔な日本語メッセージを出さない
LANG=ja_JP.utf8

# エディタ設定
if vim --version > /dev/null 2>&1; then
Expand All @@ -19,13 +20,14 @@ fi
VISUAL=$EDITOR

# ページャ設定
if lv -V > /dev/null 2>&1; then
PAGER=lv
elif jless --version > /dev/null 2>&1; then
PAGER=jless
else
PAGER=less
fi
#if lv -V > /dev/null 2>&1; then
# PAGER=lv
#elif jless --version > /dev/null 2>&1; then
# PAGER=jless
#else
# PAGER=less
#fi
PAGER=less
JLESSCHARSET=japanese

export SHELL LANG EDITOR VISUAL PAGER JLESSCHARSET
Expand Down
3 changes: 1 addition & 2 deletions nekoie/dotfiles/.zshrc
Expand Up @@ -47,10 +47,9 @@ case "${HOSTNAME}" in
COLOR_PROMPT=$COLOR_GREEN
prompt_gorgeous
;;
"sv.tir.ne.jp")
"m.sc.tir.ne.jp")
umask 022
unset CVS_RSH
export CVSROOT=/home/cvs/cvsroot
export MAIL=~/Maildir
screen_sorendition="= yk"
COLOR_PROMPT=$COLOR_GREEN
Expand Down

0 comments on commit 30c4a5c

Please sign in to comment.