Home
|
UNIX
|
Practical
How to configure the Bash shell
Add this to /etc/bashrc or ~/.bashrc,
LANG=en_US; export LANG
CVS_RSH=ssh; export CVS_RSH
[[ "$USER" = "root" ]] && PS1="\h# " || PS1="\h> "
Note. As for AIX, use this LANG instead,
LANG=C; export LANG
Note. as for Solaris, use this one,
LANG=en_US.ISO8859-1; export LANG
and make sure /usr/sfw/bin is also in the PATH
Note. When you're done configuring the system, you may want to cleanup the history,
history -c
When you got a freaked up shell,
reset