#! /usr/bin/zsh if test -x =dircolors; then eval "`dircolors`" export ZLS_COLORS=$LS_COLORS fi setopt auto_cd setopt nobeep setopt prompt_cr # Newline before prompt when needed autoload -U colors colors setopt prompt_subst # Don't highlight pasted text zle_highlight=(paste:none) autoload -U zargs typeset -ga preexec_functions typeset -ga precmd_functions typeset -ga chpwd_functions # use emacs bindings bindkey -e bindkey '\e[1~' beginning-of-line [ -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