Section Next | Prev


A.1 初期設定ファイルサンプル

シェル関連

.bash_profile
tty -s
if [ $? -eq 0 ]; then
        stty dec crt erase ^H
fi
tset -n -I
PATH=$PATH:/usr/local/bin:~/bin:.
PS1="\! \W $ "
TMOUT=1200

TZ=JST
LANG=ja_JP.utf-8
export TZ LANG
[ -f .bashrc ] && . .bashrc
.bashrc
alias rm="/bin/rm -i"
alias cp="/bin/cp -i"
alias mv="/bin/mv -i"

.login
if ( $term != "none" && $term != "None" ) then
	stty jdec cr0
	tset -I -Q
endif
umask 023
setenv MAIL /usr/spool/mail/$USER
set mail=$MAIL
set path=( . $HOME/bin /usr/i18n/bin /usr/ucb /usr/local/bin )
set prompt="[`date +%T`]`hostname`>> "
setenv EXINIT 'set redraw wm=8'
setenv TZ :/etc/zoneinfo/Japan
if ( $term != "none" && $term != "None" ) then
	biff n
endif
.cshrc
if ( $?prompt ) then
	set prompt = "csh>> "
	set notify
	set history = 100
	alias pd pushd
	alias pop popd
	alias help apropos
	alias news emacs -nw -f gnus
	set path=( $path $HOME/bin . )
	alias vt100 "set term=vt100"
endif

Section Next | Prev

Copyright 2007-2018 ycosSystems Appendix/A1.html