## vim:ft=zsh ## parameters which are only important for interactive shells. ## For application-related parameters, see zshenv # zsh cache directory if [[ -d ~/var/cache/zsh ]] { ZCACHEDIR=~/var/cache/zsh } else { zrc_info "~/var/cache/zsh does not exist, using ~/.zsh-cache instead" mkdir -p ~/.zsh-cache ZCACHEDIR=~/.zsh-cache } # There's no point in having more history than what can be saved on disk HISTFILE=$ZCACHEDIR/history HISTSIZE=50000 SAVEHIST=$HISTSIZE # how many entries to kep for popd DIRSTACKSIZE=20 # Use the full terminal size for listings LISTMAX=0 # be accurate TIMEFMT='%J (%P) - %*E real, %*U user, %*S system' # completion cache for compinit compdump=$ZCACHEDIR/compdump if ((EUID)) { path+=(/sbin /usr/sbin /usr/local/sbin) } export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) # Add my own executables, if they're not already in the path [[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH # Add manuals from pkg to manpath which manpath &> /dev/null && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/"