summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-23 11:29:44 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-23 11:29:44 +0200
commit40f4b2b6ddc3d7796601b1e928b6bb530aca71ab (patch)
treee812163ed3a1bcfce40d4076406f6a1384c8fc2b /etc
parent3872a5ebe5767e10b780cf26658f419d3e7ed87f (diff)
Added etc/local for site-specific settings
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/esource4
-rw-r--r--etc/rc5
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/functions/esource b/etc/functions/esource
new file mode 100644
index 0000000..ff01ab4
--- /dev/null
+++ b/etc/functions/esource
@@ -0,0 +1,4 @@
+## vim:ft=zsh
+if [[ -r $1 ]] {
+ source $1
+}
diff --git a/etc/rc b/etc/rc
index c0c41aa..5d73143 100644
--- a/etc/rc
+++ b/etc/rc
@@ -25,13 +25,14 @@ source $ZDIR/alias/font
source $ZDIR/alias/default
source $ZDIR/alias/global
source $ZDIR/alias/short
-source $ZDIR/../provided/includes
+esource $ZDIR/../provided/includes
+esource $ZDIR/local
+esource $HOME/var/tmp/envstore-raw-$UID
source $ZDIR/completion
## misc
bindkey -e
ls-colors: eval $(dircolors -b $HOME/packages/zsh/etc/dircolors)
-[[ -r $HOME/var/tmp/envstore-raw-$UID ]] && . $HOME/var/tmp/envstore-raw-$UID
mesg n
umask 077