zsh/zshrc.rhs
cvsdist 3de397a58d auto-import changelog data from zsh-4.2.0-3.src.rpm
Mon Jul 05 2004 Jens Petersen <petersen@redhat.com> - 4.2.0-3
- source profile in zprofile rather than .zshrc (Péter Kelemen, Magnus
    Gustavsson, 102187,126539)
- add zsh-4.2.0-jobtable-125452.patch to fix job table bug (Henrique
    Martins, 125452)
- buildrequire tetex for texi2html (Maxim Dzumanenko, 124182)
2004-09-09 15:21:37 +00:00

27 lines
640 B
Plaintext

#
# /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