Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > ea8d071b3b0a997342fab708ede1110a > files > 8

zsh-4.2.6-9.el5.x86_64.rpm

#
# /etc/zshrc is sourced in interactive shells.  It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#

## shell functions
#setenv() { export $1=$2 }  # csh compatibility

# Set prompts
PROMPT='[%n@%m]%~%# '    # default prompt
#RPROMPT=' %~'     # prompt for right side of screen

# bindkey -v             # vi key bindings
# bindkey -e             # emacs key bindings
bindkey ' ' magic-space  # also do history expansion on space

# from bashrc
if [ "x$SHLVL" != "x1" ]; then # We're not a login shell
    for i in /etc/profile.d/*.sh; do
	if [ -r "$i" ]; then
	    . $i
	fi
    done
    unset i
fi