diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | etc/functions/esource | 4 | ||||
-rw-r--r-- | etc/rc | 5 |
3 files changed, 8 insertions, 2 deletions
@@ -1 +1,2 @@ provided +etc/local 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 |