3 # System wide functions and aliases
4 # Environment stuff goes in /etc/profile
6 # Test for an interactive shell. There is no need to set anything
7 # past this point for scp and rcp, and it's important to refrain from
8 # outputting anything in those cases.
9 if [[ $- != *i* ]] ; then
10 # Shell is non-interactive. Be done now!
14 # If this is an xterm set the title to user@host:dir
16 gnome*|nxterm|xterm*|rxvt*|konsole*)
17 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
26 # SYSTEM WIDE ALIASES ETC.
27 if [ "$(echo /etc/shrc.d/*.sh)" != "/etc/shrc.d/*.sh" ]; then
28 for i in /etc/shrc.d/*.sh; do