# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
export http_proxy=http://hogehoge.net:8080
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ "$SSH_CLIENT" ]; then
export DISPLAY="${SSH_CLIENT%% *}:0.0"
fi
if [ "$LOGGING" != "yes" ]; then
export LOGGING="yes"
script -c "bash --norc" ~/log/`date +%Y-%m-%d:%T`_${SSH_CLIENT%% *}
exit
fi
bind '"\C-n": history-search-forward'
bind '"\C-p": history-search-backward'
最終更新:2010年01月17日 08:37