]> git.pld-linux.org Git - packages/zsh.git/blobdiff - zshrc
- ups
[packages/zsh.git] / zshrc
diff --git a/zshrc b/zshrc
index 61e82946ad34414116400aa76f3cfaea09df1593..979770b048f910073a62df4dbacf2778bc7bd6fc 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -5,7 +5,7 @@ alias cd='builtin cd'
 alias precmd=' precmd'
 
 # SYSTEM WIDE ALIASES ETC.
-for i in `find /etc/shrc.d -name '*.sh'` ; do
+for i in `find /etc/shrc.d -name '*.sh' 2> /dev/null` ; do
        . $i
 done
 unset i
@@ -23,8 +23,11 @@ bindkey `tput knp` end-of-history >/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
This page took 0.083711 seconds and 4 git commands to generate.