summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-07 14:48:14 +0100
committerTobias Klauser <tklauser@distanz.ch>2011-03-07 14:48:14 +0100
commitd0374e97b116d842321b044a8c3444432b462beb (patch)
treed25a326df15910e88b1759f9a0d4d4f9c89fb57e
parent077d713020498aed20bca5855d9044f0256c6eaf (diff)
.zshenv and .zshrc
-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