■.bashrcの設定例 if [ -f /etc/bashrc ]; then . /etc/bashrc fi export SHELL=/bin/bash export TMPDIR=/tmp export TZ=JST-09 export MAKE_MODE=unix PATH=./:/bin:/usr/bin:/usr/local/bin:~/bin:$PATH PAGER=less USERNAME="`id -un`" JLESSCHARSET=japanese-sjis #PS1="$HOSTNAME:$USERNAME:\w$ " PS1="bash3.0#" if [ ! -d "$HOME" ]; then mkdir -p "$HOME" fi if [ -n ${DISPLAY} ]; then export DISPLAY=localhost:0.0 fi if [ ! -n "${TERM}" ]; then TERM=cygwin fi if [ -z "$HOME" ]; then HOME="/home/$USER" fi export PATH HOME USER PAGER JLESSCHARSET alias ls="ls -F --color=auto --show-control-chars" alias la="ls -aF" alias ll="ls -l" alias rm="rm -i" alias cp="cp -i" alias mv="mv -i" ■.bash_profileの設定例 # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH unset USERNAME