]> git.donarmstrong.com Git - zsh.git/blob - .zsh/zshrc/99_TODO
reordering of zshrc files
[zsh.git] / .zsh / zshrc / 99_TODO
1 # zshrc/00_TODO
2 #
3 # All kinds of stuff not yet split to other files
4 # TEMPORARY
5 #
6 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
7 # Released under the terms of the Artistic Licence 2.0
8 #
9 # Source repository: http://git.madduck.net/v/etc/zsh.git
10 #
11
12 ldir() { eval $1="$PWD" ; : ~$1 }
13
14 alias Q='exec zsh'
15 alias ozsh='ZDOTDIR=$HOME/.etc/zsh exec zsh'
16
17 # do not clobber files with >
18 setopt noclobber
19
20 # automatically maintain a directory stack
21 setopt autopushd pushdminus pushdsilent pushdtohome
22
23 # brace expansion
24 setopt braceccl
25
26 # print backgrounded jobs when they finish
27 setopt notify
28 # bg-processes should not be nice
29 unsetopt bgnice
30 # send no HUP signal to running jobs when the shell exits
31 setopt nohup
32 # don't bother me with running jobs (only wize with setopt nohup)
33 unsetopt checkjobs
34
35 # disable backslashed escape sequences unless -e is given to echo 
36 setopt bsd_echo
37
38 [ "$(umask)" = 022 ] && umask 0077
39
40 eval `lesspipe 2>/dev/null`
41
42 WORDCHARS="*?_-.[]~/&;!#$%^(){}<>"
43
44 # report time stats when command takes longer than 5 seconds
45 REPORTTIME=5
46
47 MAILCHECK=0
48
49 # http://grml.org/zsh/zsh-lovers.html
50 rationalise-dot() {
51   if [[ $LBUFFER = *.. ]]; then
52     LBUFFER+=/..
53   else
54     LBUFFER+=.
55   fi
56 }
57 zle -N rationalise-dot
58 bindkey . rationalise-dot
59
60 :
61
62 # vim:ft=zsh