diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-23 11:29:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-23 11:29:44 +0200 |
commit | 40f4b2b6ddc3d7796601b1e928b6bb530aca71ab (patch) | |
tree | e812163ed3a1bcfce40d4076406f6a1384c8fc2b /etc | |
parent | 3872a5ebe5767e10b780cf26658f419d3e7ed87f (diff) |
Added etc/local for site-specific settings
Diffstat (limited to 'etc')
-rw-r--r-- | etc/functions/esource | 4 | ||||
-rw-r--r-- | etc/rc | 5 |
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 +} @@ -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 |