]> git.madduck.net Git - etc/zsh.git/blob - .zsh/zshrc/99_TODO

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

expand ~ for inplacemkdir
[etc/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: git://git.madduck.net/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 # display PID when suspending processes as well
35 setopt longlistjobs
36
37 # disable backslashed escape sequences unless -e is given to echo 
38 setopt bsd_echo
39
40 # use full globbing powers
41 setopt extended_glob
42
43 # don't bitch about bad patterns, just use them verbatim
44 setopt no_bad_pattern
45
46 # don't bitch about no matches, just the glob character verbatim
47 setopt no_nomatch
48
49 # do. not. ever. beep.
50 setopt no_beep
51
52 # use 0xXX and 0XX output instead of 16#XX/8#XX
53 setopt c_bases
54
55 [ "$(umask)" = 022 ] && umask 0077
56
57 # remove '/' from WORDCHARS
58 WORDCHARS="${WORDCHARS//\/}"
59
60 # report time stats when command takes longer than 5 seconds
61 # typeset -g to make warn_create_global happy
62 typeset -g REPORTTIME=5
63
64 MAILCHECK=0
65
66 # http://grml.org/zsh/zsh-lovers.html
67 rationalise-dot() {
68   if [[ $LBUFFER = *.. ]]; then
69     LBUFFER+=/..
70   else
71     LBUFFER+=.
72   fi
73 }
74 #zle -N rationalise-dot
75 #bindkey . rationalise-dot
76
77 :
78
79 # vim:ft=zsh