# /etc/zshrc: system-wide .zshrc file for zsh(1).
#
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# Global Order: zshenv, zprofile, zshrc, zlogin

PS1="%m%# "

[[ $UID == $GID ]] && umask 002 || umask 022

bindkey -M emacs "\033[3~" delete-char
bindkey -M emacs "\033OH" beginning-of-line
bindkey -M emacs "\033OF" end-of-line
bindkey -M vicmd "\033[3~" vi-delete-char
bindkey -M vicmd "\033OH" vi-beginning-of-line
bindkey -M vicmd "\033OF" vi-end-of-line

unalias run-help
autoload run-help

# The following line is meant for compatibility with previous versions.
# The use of these module aliases is deprecated.
zmodload -A cap=zsh/cap clone=zsh/clone compctl=zsh/compctl complete=zsh/complete complist=zsh/complete computil=zsh/computil deltochar=zsh/deltochar example=zsh/example files=zsh/files mapfile=zsh/mapfile mathfunc=zsh/mathfunc parameter=zsh/parameter rlimits=zsh/rlimits sched=zsh/sched stat=zsh/stat zftp=zsh/zftp zle=zsh/zle zleparameter=zsh/zleparameter
