4 # All kinds of stuff not yet split to other files
7 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
8 # Released under the terms of the Artistic Licence 2.0
10 # Source repository: git://git.madduck.net/etc/zsh.git
13 ldir() { eval hash -d $1="$PWD"; cd .; }
15 alias Q='exec zsh -$-'
16 alias ozsh='ZDOTDIR=$HOME/.etc/zsh.migrated exec zsh'
18 # do not clobber files with >
21 # automatically maintain a directory stack
22 setopt autopushd pushdminus pushdsilent pushdtohome
27 # report immediately when background jobs finish
29 # do not auto-nice background processes
31 # do not send HUP signal to jobs when the shell exits
33 # do alert me of running jobs before exiting
35 # display PID when suspending processes as well
38 # disable backslashed escape sequences unless -e is given to echo
41 # use full globbing powers
44 # don't bitch about bad patterns, just use them verbatim
47 # don't bitch about no matches, just the glob character verbatim
50 # do. not. ever. beep.
53 # use 0xXX and 0XX output instead of 16#XX/8#XX
56 # remove '/' from WORDCHARS
57 WORDCHARS="${WORDCHARS//\/}"
59 # report time stats when command takes longer than 5 seconds
60 # typeset -g to make warn_create_global happy
61 typeset -g REPORTTIME=5
65 # http://grml.org/zsh/zsh-lovers.html
67 if [[ $LBUFFER = *.. ]]; then
73 #zle -N rationalise-dot
74 #bindkey . rationalise-dot