]> git.madduck.net Git - etc/myrepos.git/blobdiff - .mrconfig

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:

fix up paths and lookups
[etc/myrepos.git] / .mrconfig
index d55f559df841e5a95ff685a1850f7e228d2fcfdf..1c1e3eeb9b84e547e74ba69ac00079b900e0efdc 100644 (file)
--- a/.mrconfig
+++ b/.mrconfig
@@ -1,2 +1,3 @@
 [DEFAULT]
-include = cat $HOME/.config/mr/base-config.d/[a-z]* $HOME/.config/mr/config.d/[a-z]*
+include = ls ${XDG_CONFIG_HOME:-$HOME/.config}/mr/base-config.d/[a-z]* >/dev/null 2>&1 && cat $HOME/.config/mr/base-config.d/[a-z]* || :
+include = ls ${XDG_CONFIG_HOME:-$HOME/.config}/mr/config.d/[a-z]* >/dev/null 2>&1 && cat $HOME/.config/mr/config.d/[a-z]* || :