12/12/11 18:36:54.68 Z5QFU5Nm
Ubuntu Server 12.0.4.1 amd64 を使ってます。
コマンドプロンプトを変えたいんですが、
~/.bashrc 中の以下の部分
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
を下記のように書き換えても反映されません。
if [ "$color_prompt" = yes ]; then
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1='\[\033[47;1;30m\][\u@\h \w --- \t] \e[0m\]\[\033[47;1;30m\]\e[0m\]\n$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
何が間違っている(もしくは何を見落としている)んでしょうか?