]> git.donarmstrong.com Git - zsh.git/blob - .zsh/zshrc/99_TODO
add zsh modes to everything
[zsh.git] / .zsh / zshrc / 99_TODO
1 # -*- mode: sh -*-
2 # zshrc/99_TODO
3 #
4 # All kinds of stuff not yet split to other files
5 # TEMPORARY
6 #
7 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
8 # Released under the terms of the Artistic Licence 2.0
9 #
10 # Source repository: git://git.madduck.net/etc/zsh.git
11 #
12
13 ldir() { eval hash -d $1="$PWD"; cd .; }
14
15 alias Q='exec zsh -$-'
16 alias ozsh='ZDOTDIR=$HOME/.etc/zsh.migrated exec zsh'
17
18 # do not clobber files with >
19 setopt noclobber
20
21 # automatically maintain a directory stack
22 setopt autopushd pushdminus pushdsilent pushdtohome
23
24 # brace expansion
25 setopt braceccl
26
27 # report immediately when background jobs finish
28 setopt notify
29 # do not auto-nice background processes
30 setopt no_bgnice
31 # do not send HUP signal to jobs when the shell exits
32 setopt nohup
33 # do alert me of running jobs before exiting
34 setopt checkjobs
35 # display PID when suspending processes as well
36 setopt longlistjobs
37
38 # disable backslashed escape sequences unless -e is given to echo 
39 setopt bsd_echo
40
41 # use full globbing powers
42 setopt extended_glob
43
44 # don't bitch about bad patterns, just use them verbatim
45 setopt no_bad_pattern
46
47 # don't bitch about no matches, just the glob character verbatim
48 setopt no_nomatch
49
50 # do. not. ever. beep.
51 setopt no_beep
52
53 # use 0xXX and 0XX output instead of 16#XX/8#XX
54 setopt c_bases
55
56 # remove '/' from WORDCHARS
57 WORDCHARS="${WORDCHARS//\/}"
58
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
62
63 MAILCHECK=0
64
65 # http://grml.org/zsh/zsh-lovers.html
66 rationalise-dot() {
67   if [[ $LBUFFER = *.. ]]; then
68     LBUFFER+=/..
69   else
70     LBUFFER+=.
71   fi
72 }
73 #zle -N rationalise-dot
74 #bindkey . rationalise-dot
75
76 :
77
78 # vim:ft=zsh