diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-03-07 14:45:17 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2011-03-07 14:45:17 +0100 |
commit | c5903815012033d365f1295f4dbeedee20622692 (patch) | |
tree | dfb1fc78a6f7ed9f48f412d5fd3101d7893213e2 /.zsh/zshrc | |
parent | 1516299da794b9555ca1a073a5e42d120e8637c7 (diff) |
add global variable setup
Diffstat (limited to '.zsh/zshrc')
-rw-r--r-- | .zsh/zshrc/00_varsetup | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.zsh/zshrc/00_varsetup b/.zsh/zshrc/00_varsetup new file mode 100644 index 0000000..7b99ed8 --- /dev/null +++ b/.zsh/zshrc/00_varsetup @@ -0,0 +1,17 @@ +# zshrc/00_varsetup +# +# set up global variables +# +# Copyright © 2011 Tobias Klauser <tklauser@distanz.ch> +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: git://git.distanz.ch/dotfiles/zsh.git + +# automatically remove duplicates from these arrays +typeset -gU path cdpath fpath manpath fignore + +typeset -ga preexec_functions +typeset -ga precmd_functions +typeset -ga chpwd_functions + +# vim:ft=zsh |