You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB

# setup umask [0755]
umask 0022
# ensure there are no duplicates in $PATH
typeset -U PATH path
# user files sourced before system files
# completions sourced after the functions they complete
# drop-in directory (like /etc/zsh.d)
# sourceall iterates over APATH, sourcing every file it finds
typeset -T APATH apath
autoload sourceall
sourceall zsh
# plugins (explicitly loaded)
# autosource iterates over SPATH until a matching plugin is found and sourced
typeset -T SPATH spath
autoload autosource
autosource coloured-man
autosource sudo
# setup ys prompt
autoload -Uz promptinit && promptinit
prompt ys
# source local zshrc
[[ -f "$ZDOTDIR/zshrc.local" ]] && . "$ZDOTDIR/zshrc.local"
# setup compinit
autoload -U compinit
compinit -i -d "${ZCACHEDIR}/zcompdump-${ZSH_VERSION}"
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2