]> git.alrj.org Git - zsh.d.git/blob - S10_zshopts
Set locale.
[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 bindkey '\e[1~' beginning-of-line
25
26 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
27
28 HISTSIZE=10000              # size of history
29 LISTMAX=1000                # never ask
30 NULLCMD='cat'               # use cat for > null commands
31 REPORTTIME=2                # report time if execution exceeds amount of seconds
32 SAVEHIST=10000              # maximum of history events to be save
33 LOGCHECK=60
34 watch=(notme)               # watch login/logout
35 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
36                             # part of word in line editor