alias cd='builtin cd'
alias precmd=' precmd'
-setopt hist_ignore_space
+# SYSTEM WIDE ALIASES ETC.
+for i in `find /etc/shrc.d -name '*.sh' 2> /dev/null` ; do
+ . $i
+done
+unset i
+
+setopt hist_ignore_space hist_ignore_all_dups list_packed transient_rprompt
bindkey -e >/dev/null 2>&1
bindkey `tput kcuu1` history-beginning-search-backward >/dev/null 2>&1
bindkey `tput kcud1` history-beginning-search-forward >/dev/null 2>&1
+PS1='[%n@%m %~]%(!.#.%\$) '
+export PS1
+
case "$TERM" in
- xterm*)
+ xterm*|nxterm|gnome|rxvt)
precmd () { print -Pn "\e]0;%n@%m: %~\a" }
bindkey '^[[H' beginning-of-line >/dev/null 2>&1
bindkey '^[[F' end-of-line >/dev/null 2>&1