#! /usr/bin/zsh if test -x =dircolors; then eval "`dircolors`" export ZLS_COLORS=$LS_COLORS fi setopt auto_cd setopt nobeep autoload -U colors colors setopt prompt_subst typeset -ga preexec_functions typeset -ga precmd_functions typeset -ga chpwd_functions # use emacs bindings bindkey -e # This must be done very early. clear_psvar() { psvar=() } precmd_functions+='clear_psvar' [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history HISTSIZE=10000 # size of history LISTMAX=1000 # never ask NULLCMD='cat' # use cat for > null commands REPORTTIME=2 # report time if execution exceeds amount of seconds SAVEHIST=10000 # maximum of history events to be save LOGCHECK=60 watch=(notme) # watch login/logout WORDCHARS="*?_-.[]~/&;!#$%^(){}<>" # part of word in line editor