538cfb0872
Mon Jul 30 2001 Trond Eivind Glomsrød <teg@redhat.com> - Fix typo in comment in zshrc (#50214) - Don't set environment variables in /etc/zshrc (#50308)
17 lines
460 B
Plaintext
17 lines
460 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='%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
|