]> git.donarmstrong.com Git - zsh.git/blob - .zsh/zshrc/00_varsetup
add commented warn_check_globals option
[zsh.git] / .zsh / zshrc / 00_varsetup
1 # zshrc/00_varsetup
2 #
3 # set up global variables used by the shell
4 #
5 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
6 # Released under the terms of the Artistic Licence 2.0
7 #
8 # Source repository: http://git.madduck.net/v/etc/zsh.git
9 #
10
11 # automatically remove duplicates from these arrays
12 typeset -gU path cdpath fpath manpath fignore
13
14 # http://xanana.ucsc.edu/~wgscott/wordpress_new/wordpress/?p=12
15 typeset -ga preexec_functions
16 typeset -ga precmd_functions
17 typeset -ga chpwd_functions
18
19 # warn on accidental creation of global variables
20 # unset for now until we work out the corner cases, like warning about $reply
21 # and $HISTFILE or $REPORTTIME.
22 #setopt warn_create_global
23
24 # vim:ft=zsh