summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshenv7
-rw-r--r--.zshrc13
2 files changed, 19 insertions, 1 deletions
diff --git a/.zshenv b/.zshenv
index 7627cf6..c4e52c1 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,8 +1,13 @@
# .zshenv
#
-# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Base zshenv file which simply delegates to files in $ZDOTDIR
+#
+# Copyright © 2010–2011 Tobias Klauser <tklauser@distanz.ch>
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
#
# Based on the zsh setup by martin f. krafft which can be found at:
# git://git.madduck.net/etc/zsh.git
+
+ZDOTDIR=$HOME/.zsh
+[ -f $ZDOTDIR/.zshenv ] && . $ZDOTDIR/.zshenv
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..5e22f82
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,13 @@
+# .zshrc
+#
+# Base zshrc file which simply delegates to files in $ZDOTDIR
+#
+# Copyright © 2010–2011 Tobias Klauser <tklauser@distanz.ch>
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+#
+# Based on the zsh setup by martin f. krafft which can be found at:
+# git://git.madduck.net/etc/zsh.git
+
+ZDOTDIR=$HOME/.zsh
+[ -f $ZDOTDIR/.zshrc ] && . $ZDOTDIR/.zshrc