madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<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 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://"]
  insteadOf = madduck:

clean up errfile
authormartin f. krafft <>
Wed, 28 Jan 2015 10:06:46 +0000 (11:06 +0100)
committermartin f. krafft <>
Wed, 28 Jan 2015 10:06:46 +0000 (11:06 +0100)

index 2550f2b6c52a840da86617d1203a17f92478b1b4..1c92e340e1db595b3f46548bd19e2922d4b0aaea 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -1,5 +1,18 @@
 #!/bin/zsh --login
+RUNDIR="/run/user/$(id -u)"
+mkdir -m700 -p "$RUNDIR"
+if [ -f "$ERRFILE" ]; then
+elif [ -L /tmp/xsession-$LOGNAME ]; then
+  mv $(readlink -f /tmp/xsession-$LOGNAME) $NEW_ERRFILE
+  rm /tmp/xsession-$LOGNAME
+chmod 600 $NEW_ERRFILE
+ln -sf $NEW_ERRFILE $HOME/.xsession-errors
+exec >>$NEW_ERRFILE 2>&1
 set -u
 while :; do