]> git.madduck.net Git - etc/zsh.git/blob - .zsh/zshrc/00_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:

initial checkin
[etc/zsh.git] / .zsh / zshrc / 00_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 # correct all arguments
18 setopt correctall
19
20 # do not clobber files with >
21 setopt noclobber
22
23 # automatically maintain a directory stack
24 setopt autopushd pushdminus pushdsilent pushdtohome
25
26 # brace expansion
27 setopt braceccl
28
29 # commands that take commands as arguments
30 compctl -c man nohup strace gdb
31
32 # automatically remove duplicates from these arrays
33 typeset -gU path cdpath fpath manpath
34
35 # http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=12
36 typeset -ga preexec_functions
37 typeset -ga precmd_functions
38 typeset -ga chpwd_functions
39
40 . $ZDOTDIR/xterm-title
41
42 precmd_functions+=set_plain_xterm_title
43 preexec_functions+=set_cmd_xterm_title
44
45 [ "$(umask)" = 022 ] && umask 0077
46
47 eval `lesspipe 2>/dev/null`
48
49 :
50
51 # vim:ft=zsh