]> git.donarmstrong.com Git - zsh.git/blob - .zsh/rcsstub
2138ef05f7835398ad644309fa35cb609a6927c4
[zsh.git] / .zsh / rcsstub
1 # rcsstub
2 #
3 # Stub for all .z* files; actual content comes from a directory
4 #
5 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
6 # Released under the terms of the Artistic Licence 2.0
7 #
8 # Source repository: git://git.madduck.net/etc/zsh.git
9 #
10
11 if [[ -o rcs ]]; then
12   source $ZDOTDIR/logging
13   source $ZDOTDIR/util
14   source $ZDOTDIR/sourcedir
15
16 #  __do_debug && set -x || :
17
18   _DIR=$ZDOTDIR/${${(%):-%1N}#.}
19   sourcedir $_DIR
20
21   if [[ -d $_DIR/parts.d ]]; then
22     sourcedir $_DIR/parts.d
23   fi
24
25   unset _DIR
26
27 #  __do_debug && set +x || :
28 fi
29
30 # vim:ft=zsh