]> git.donarmstrong.com Git - zsh.git/blob - .zsh/zshrc/99_TODO
Merge branch 'master' of ssh://git.madduck.net/~/git/pub/etc/zsh
[zsh.git] / .zsh / zshrc / 99_TODO
1 # zshrc/99_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 hash -d $1="$PWD"; cd .; }
13
14 alias Q='exec zsh'
15 alias ozsh='ZDOTDIR=$HOME/.etc/zsh.migrated 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 # report immediately when background jobs finish
27 setopt notify
28 # do not auto-nice background processes
29 setopt no_bgnice
30 # do not send HUP signal to jobs when the shell exits
31 setopt nohup
32 # do alert me of running jobs before exiting
33 setopt checkjobs
34
35 # disable backslashed escape sequences unless -e is given to echo 
36 setopt bsd_echo
37
38 # use full globbing powers
39 setopt extended_glob
40
41 # don't bitch about bad patterns, just use them verbatim
42 setopt no_bad_pattern
43
44 # don't bitch about no matches, just the glob character verbatim
45 setopt no_nomatch
46
47 # do. not. ever. beep.
48 setopt no_beep
49
50 # use 0xXX and 0XX output instead of 16#XX/8#XX
51 setopt c_bases
52
53 [ "$(umask)" = 022 ] && umask 0077
54
55 # remove '/' from WORDCHARS
56 WORDCHARS="${WORDCHARS//\/}"
57
58 # report time stats when command takes longer than 5 seconds
59 REPORTTIME=5
60
61 MAILCHECK=0
62
63 # http://grml.org/zsh/zsh-lovers.html
64 rationalise-dot() {
65   if [[ $LBUFFER = *.. ]]; then
66     LBUFFER+=/..
67   else
68     LBUFFER+=.
69   fi
70 }
71 #zle -N rationalise-dot
72 #bindkey . rationalise-dot
73
74 :
75
76 # vim:ft=zsh