From c5903815012033d365f1295f4dbeedee20622692 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 7 Mar 2011 14:45:17 +0100 Subject: add global variable setup --- .zsh/zshrc/00_varsetup | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .zsh/zshrc/00_varsetup (limited to '.zsh/zshrc') 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 +# 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 -- cgit v1.2.3-54-g00ecf