3 # System wide environment and startup programs
4 # Functions and aliases go into the shells dependent startup files
6 PATH="$PATH:/usr/X11R6/bin"
8 if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
16 MAIL="/var/mail/$USER"
18 HOSTNAME=`/bin/hostname`
23 # Setup the environment for varius shells
26 if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
38 PS1='[${LOGNAME-$USER}@${HOSTNAME}`
39 if [ "$PWD" = "${PWD##$HOME}" ]; then
42 echo '~'${PWD##$HOME};
48 # Setup some of the most basic editing functions
49 # to work properly under different termnal emulators.
52 nxterm|xterm|xterm-color|rxvt)
53 bind '^[[H'=beginning-of-line
54 bind '^[[F'=end-of-line
57 bind '^[1~'=beginning-of-line
58 bind '^[4~'=end-of-line
67 export PATH PS1 PS2 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL
69 for i in /etc/profile.d/*.sh ; do