summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshrc/00_varsetup17
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