]> 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 d55f559df841e5a95ff685a1850f7e228d2fcfdf..d35d00954e31a3396827a1046b9b64194c41647d 100644 (file)
--- a/.mrconfig
+++ b/.mrconfig
@@ -1,2 +1,4 @@
 [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/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]* || :