summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-03-09 18:45:08 +0100
committerTobias Klauser <klto@zhaw.ch>2010-03-09 18:45:08 +0100
commit212734d392269d060e01326978e6ef25e202c17f (patch)
tree4349e00284aa926ac709b6bab1c24c94ed9a1e55 /.zsh/zshenv
parent24a5fdbfe5c89248252b70b1103d92ea91f30e29 (diff)
Add zshenv setting some env variables
Diffstat (limited to '.zsh/zshenv')
-rw-r--r--.zsh/zshenv/01_fpath12
-rw-r--r--.zsh/zshenv/80_debian18
-rw-r--r--.zsh/zshenv/80_git13
3 files changed, 43 insertions, 0 deletions
diff --git a/.zsh/zshenv/01_fpath b/.zsh/zshenv/01_fpath
new file mode 100644
index 0000000..88fcea3
--- /dev/null
+++ b/.zsh/zshenv/01_fpath
@@ -0,0 +1,12 @@
+# zshenv/01_fpath
+#
+# Add local functions directory to $fpath
+#
+# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+fpath=($ZDOTDIR/func $fpath)
+
+# vim:ft=zsh
diff --git a/.zsh/zshenv/80_debian b/.zsh/zshenv/80_debian
new file mode 100644
index 0000000..74ac953
--- /dev/null
+++ b/.zsh/zshenv/80_debian
@@ -0,0 +1,18 @@
+# zshenv/80_debian
+#
+# Set variables related to Debian
+#
+# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+export DEBFULLNAME='Tobias Klauser'
+export DEBEMAIL='tklauser@distanz.ch'
+
+# set variable debian_chroot if running in a chroot with /etc/debian_chroot
+if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
+ export debian_chroot="$(</etc/debian_chroot)"
+fi
+
+# vim:ft=zsh
diff --git a/.zsh/zshenv/80_git b/.zsh/zshenv/80_git
new file mode 100644
index 0000000..0710477
--- /dev/null
+++ b/.zsh/zshenv/80_git
@@ -0,0 +1,13 @@
+# zshenv/80_git
+#
+# Set variables related to git
+#
+# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+export GIT_AUTHOR_EMAIL='tklauser@distanz.ch'
+export GIT_COMMITTER_EMAIL='tklauser@distanz.ch'
+
+# vim:ft=zsh