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 # print backgrounded jobs when they finish
28 # bg-processes should not be nice
30 # send no HUP signal to running jobs when the shell exits
32 # don't bother me with running jobs (only wize with setopt nohup)
35 # disable backslashed escape sequences unless -e is given to echo
38 [ "$(umask)" = 022 ] && umask 0077
40 eval `lesspipe 2>/dev/null`
42 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
44 # report time stats when command takes longer than 5 seconds
49 # http://grml.org/zsh/zsh-lovers.html
51 if [[ $LBUFFER = *.. ]]; then
57 zle -N rationalise-dot
58 bindkey . rationalise-dot