]> git.alrj.org Git - zsh.d.git/blob - S10_zshopts
Add a "functions" snipplet.
[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 typeset -ga preexec_functions
17 typeset -ga precmd_functions
18 typeset -ga chpwd_functions
19
20 # use emacs bindings
21 bindkey -e
22
23 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
24
25 HISTSIZE=10000              # size of history
26 LISTMAX=1000                # never ask
27 NULLCMD='cat'               # use cat for > null commands
28 REPORTTIME=2                # report time if execution exceeds amount of seconds
29 SAVEHIST=10000              # maximum of history events to be save
30 LOGCHECK=60
31 watch=(notme)               # watch login/logout
32 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
33                             # part of word in line editor