Upgraded to follow CVS-20040525 - upgraded psmisc to 21.5
[automated_linux_from_scratch.git] / profiles / BLFS / config_standard / etc / bashrc
blob319fbd5c7eddfe7d02cb61dbae26df345d53e007
1 # Begin /etc/bashrc 
2 # Written for Beyond Linux From Scratch 
3 # by James Robertson <jameswrobertson@earthlink.net>
5 # System wide aliases and functions.
7 # System wide environment variables and startup programs should go into
8 # /etc/profile.  Personal environment variables and startup programs
9 # should go into ~/.bash_profile.  Personal aliases and functions should
10 # go into ~/.bashrc
12 # By default we want the umask to get set.
13 # Even for non-interactive and non-login shells.
14 if [ "$(id -gn)" = "$(id -un)" -a $(id -u) -gt 99 ] ; then
15         umask 002
16 else
17         umask 022
20 # Provides a colored /bin/ls command.  Used in conjunction with code in
21 # /etc/profile.
22 alias ls='ls --color=auto'
24 # Provides prompt for non-interactive shells, specifically shells started
25 # in the xfree environment. [Review archive thread titled PS1
26 # Environment Variable for a great case study behind this script
27 # addendum.]
28 export PS1="[\u@\h \w]\\$ "
30 # End /etc/bashrc