]> git.alrj.org Git - zsh.d.git/blob - S10_zshopts
Don't refresh repository when searching with zypper.
[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
11 autoload -U colors
12 colors
13 setopt prompt_subst
14
15 typeset -ga preexec_functions
16 typeset -ga precmd_functions
17 typeset -ga chpwd_functions
18
19 # use emacs bindings
20 bindkey -e
21
22 # This must be done very early.
23 clear_psvar() {
24   psvar=()
25 }
26 precmd_functions+='clear_psvar'
27
28
29 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
30
31 HISTSIZE=10000              # size of history
32 LISTMAX=1000                # never ask
33 NULLCMD='cat'               # use cat for > null commands
34 REPORTTIME=2                # report time if execution exceeds amount of seconds
35 SAVEHIST=10000              # maximum of history events to be save
36 LOGCHECK=60
37 watch=(notme)               # watch login/logout
38 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
39                             # part of word in line editor