]>
Commit | Line | Data |
---|---|---|
71e32384 MT |
1 | # Begin /etc/bashrc |
2 | # Written for Beyond Linux From Scratch | |
3 | # by James Robertson <jameswrobertson@earthlink.net> | |
4 | # updated by Bruce Dubbs <bdubbs@linuxfromscratch.org> | |
5 | ||
6 | # Make sure that the terminal is set up properly for each shell | |
7 | ||
8 | if [ -f /etc/profile.d/tinker-term.sh ]; then | |
9 | source /etc/profile.d/tinker-term.sh | |
10 | fi | |
11 | ||
12 | # System wide aliases and functions. | |
13 | ||
14 | # System wide environment variables and startup programs should go into | |
15 | # /etc/profile. Personal environment variables and startup programs | |
16 | # should go into ~/.bash_profile. Personal aliases and functions should | |
17 | # go into ~/.bashrc | |
18 | ||
19 | # Provides a colored /bin/ls command. Used in conjunction with code in | |
20 | # /etc/profile. | |
21 | ||
22 | alias ls='ls --color=auto' | |
23 | ||
a08c3a2e MT |
24 | # Midnight Commander isn't compatible to UTF8. |
25 | # So we use it in ACSII-Mode. | |
26 | ||
27 | alias mc='mc -a' | |
28 | ||
71e32384 MT |
29 | # Provides prompt for non-login shells, specifically shells started |
30 | # in the X environment. [Review the LFS archive thread titled | |
31 | # PS1 Environment Variable for a great case study behind this script | |
32 | # addendum.] | |
33 | ||
bf7c473f MT |
34 | #export PS1="\033[0m[\033[1;33m\u\033[1;37m@\033[1;32m\]\h \033[1;31m\w\033[0m]\\$ " |
35 | export PS1="[\u@\h \w]\\$ " | |
6fb8ec08 | 36 | #export PS1='\u@\h:\w\$ ' |
71e32384 MT |
37 | |
38 | # End /etc/bashrc |