cvsdist abdd31
#
cvsdist abdd31
# /etc/zshrc is sourced in interactive shells.  It
cvsdist abdd31
# should contain commands to set up aliases, functions,
cvsdist abdd31
# options, key bindings, etc.
cvsdist abdd31
#
cvsdist abdd31
cvsdist abdd31
# Shell functions
cvsdist abdd31
setenv() { export $1=$2 }  # csh compatibility
cvsdist abdd31
cvsdist abdd31
# Set prompts
cvsdist 373df7
PROMPT='[%n@%m]%~%# '    # default prompt
cvsdist abdd31
#RPROMPT=' %~'     # prompt for right side of screen
cvsdist abdd31
cvsdist abdd31
# bindkey -v             # vi key bindings
cvsdist 8075d0
# bindkey -e             # emacs key bindings
cvsdist 538cfb
bindkey ' ' magic-space  # also do history expansion on space
cvsdist 2c8e3f
cvsdist 2c8e3f
# setup backspace correctly
cvsdist 373df7
if [ -x /usr/bin/tput ]; then
cvsdist 373df7
	# check we're not in a dumb terminal
cvsdist 373df7
	[ -n "`tput kbs 2>/dev/null`" ] && stty erase `tput kbs`
cvsdist 373df7
fi