]> git.madduck.net Git - etc/zsh.git/blob - .zsh/rcsstub

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add pmnpw alias
[etc/zsh.git] / .zsh / rcsstub
1 # rcsstub
2 #
3 # Stub for all .z* files; actual content comes from a directory
4 #
5 # Copyright © 1994–2017 martin f. krafft <madduck@madduck.net>
6 # Released under the terms of the Artistic Licence 2.0
7 #
8 # Source repository: http://git.madduck.net/v/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