From 40f4b2b6ddc3d7796601b1e928b6bb530aca71ab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 23 Aug 2008 11:29:44 +0200 Subject: Added etc/local for site-specific settings --- etc/functions/esource | 4 ++++ etc/rc | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 etc/functions/esource (limited to 'etc') 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 -- cgit v1.2.3