2 # Written for Beyond Linux From Scratch
3 # by James Robertson <jameswrobertson@earthlink.net>
4 # updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
6 # Make sure that the terminal is set up properly for each shell
8 if [ -f /etc/profile.d/tinker-term.sh ]; then
9 source /etc/profile.d/tinker-term.sh
12 # System wide aliases and functions.
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
19 # Provides a colored /bin/ls command. Used in conjunction with code in
22 alias ls='ls --color=auto'
24 # Midnight Commander isn't compatible to UTF8.
25 # So we use it in ACSII-Mode.
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
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]\\$ "
36 #export PS1='\u@\h:\w\$ '