]> git.alrj.org Git - zsh.d.git/blob - S10_zshopts
a8f79c3a5b66771a29fcc3b1eb9409950ab5e265
[zsh.d.git] / S10_zshopts
1 #! /usr/bin/zsh
2
3 if test -x =dircolors; then
4   eval "`dircolors`"
5   export ZLS_COLORS=$LS_COLORS
6 fi
7
8 setopt auto_cd
9 setopt nobeep
10 setopt prompt_cr            # Newline before prompt when needed
11
12 autoload -U colors
13 colors
14 setopt prompt_subst
15
16 autoload -U zargs
17
18 typeset -ga preexec_functions
19 typeset -ga precmd_functions
20 typeset -ga chpwd_functions
21
22 # use emacs bindings
23 bindkey -e
24
25 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
26
27 HISTSIZE=10000              # size of history
28 LISTMAX=1000                # never ask
29 NULLCMD='cat'               # use cat for > null commands
30 REPORTTIME=2                # report time if execution exceeds amount of seconds
31 SAVEHIST=10000              # maximum of history events to be save
32 LOGCHECK=60
33 watch=(notme)               # watch login/logout
34 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
35                             # part of word in line editor