3 # All kinds of stuff not yet split to other files
6 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
7 # Released under the terms of the Artistic Licence 2.0
9 # Source repository: http://git.madduck.net/v/etc/zsh.git
12 ldir() { eval $1="$PWD" ; : ~$1 }
15 alias ozsh='ZDOTDIR=$HOME/.etc/zsh exec zsh'
17 # do not clobber files with >
20 # automatically maintain a directory stack
21 setopt autopushd pushdminus pushdsilent pushdtohome
26 # automatically remove duplicates from these arrays
27 typeset -gU path cdpath fpath manpath
29 # http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=12
30 typeset -ga preexec_functions
31 typeset -ga precmd_functions
32 typeset -ga chpwd_functions
34 [ "$(umask)" = 022 ] && umask 0077
36 eval `lesspipe 2>/dev/null`
38 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
40 # report time stats when command takes longer than 5 seconds