]> 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 xdg variable referencing
[etc/myrepos.git] / .mrconfig
index 48fc7ee765b2229f8e08e02b1fe63aa75cf2b8b3..d35d00954e31a3396827a1046b9b64194c41647d 100644 (file)
--- a/.mrconfig
+++ b/.mrconfig
@@ -1,3 +1,4 @@
 [DEFAULT]
-include = cat /usr/share/mr/vcsh
-include = cat $HOME/.config/mr/config.d/*
+include = ls ${XDG_CONFIG_HOME:-$HOME/.config}/mr/lib.d/[a-z]* >/dev/null 2>&1 && cat ${XDG_CONFIG_HOME:-$HOME/.config}/mr/lib.d/[a-z]* || :
+include = ls ${XDG_CONFIG_HOME:-$HOME/.config}/mr/base-config.d/[a-z]* >/dev/null 2>&1 && cat ${XDG_CONFIG_HOME:-$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 ${XDG_CONFIG_HOME:-$HOME/.config}/mr/config.d/[a-z]* || :