|
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 |
# Set up aliases
|
|
cvsdist |
abdd31 |
alias mv='nocorrect mv' # no spelling correction on mv
|
|
cvsdist |
abdd31 |
alias cp='nocorrect cp' # no spelling correction on cp
|
|
cvsdist |
abdd31 |
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
# Shell functions
|
|
cvsdist |
abdd31 |
setenv() { export $1=$2 } # csh compatibility
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
# Set prompts
|
|
cvsdist |
abdd31 |
PROMPT='%m%# ' # default prompt
|
|
cvsdist |
abdd31 |
#RPROMPT=' %~' # prompt for right side of screen
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
# Some environment variables
|
|
cvsdist |
abdd31 |
export HOSTNAME=`/bin/hostname`
|
|
cvsdist |
abdd31 |
export MAIL=/var/spool/mail/$USER
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
path=($path $HOME/bin)
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
# bindkey -v # vi key bindings
|
|
cvsdist |
83b6ad |
bindkey -e # emacs key bindings
|
|
cvsdist |
abdd31 |
bindkey ' ' magic-space # also do history expansino on space
|