1 # For interactive shell
4 if [ `id -u` -eq 0 ]; then
5 PS1='[${LOGNAME-$USER}@${HOSTNAME} `
6 if [ "$PWD" = "$HOME" ]; then
8 elif [ "$PWD" = "/${PWD##*/}" ]; then
14 PS1='[${LOGNAME-$USER}@${HOSTNAME} `
15 if [ "$PWD" = "$HOME" ]; then
17 elif [ "$PWD" = "/${PWD##*/}" ]; then
27 bind '^I'=complete >/dev/null 2>&1
28 bind '^I'=complete-list >/dev/null 2>&1
31 nxterm|xterm*|konsole*)
32 bind '^[[H'=beginning-of-line >/dev/null 2>&1
33 bind '^[[F'=end-of-line >/dev/null 2>&1
36 bind '^[[1~'=beginning-of-line >/dev/null 2>&1
37 bind '^[[4~'=end-of-line >/dev/null 2>&1
41 # SYSTEM WIDE ALIASES ETC.
42 if [ "`echo /etc/shrc.d/*.sh`" != "/etc/shrc.d/*.sh" ]; then
43 for i in /etc/shrc.d/*.sh ; do