From: martin f. krafft Date: Tue, 20 Jun 2017 09:27:23 +0000 (+0200) Subject: Convert hooks to run for all affected repos X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/0368910e189d2bb587d360d0a56307f3467aa8cf?ds=sidebyside;hp=1bf1cd7658df97e139a856d710a745f7c6c3141f Convert hooks to run for all affected repos --- diff --git a/.config/vcsh/hooks-available/xsession.post-run+enter b/.config/vcsh/hooks-available/xsession.post-run+enter index 1a0f8df..9cd4faa 100755 --- a/.config/vcsh/hooks-available/xsession.post-run+enter +++ b/.config/vcsh/hooks-available/xsession.post-run+enter @@ -1,4 +1,7 @@ #!/bin/sh -for i in ~/.xsession.d/0*; do + +cd ~/.xsession.d +git ls-files . | while read f; do + echo Resourcing $f … >&2 . $i done diff --git a/.config/vcsh/hooks-enabled/xsession.post-enter b/.config/vcsh/hooks-enabled/post-enter.xsession similarity index 100% rename from .config/vcsh/hooks-enabled/xsession.post-enter rename to .config/vcsh/hooks-enabled/post-enter.xsession diff --git a/.config/vcsh/hooks-enabled/xsession.post-run b/.config/vcsh/hooks-enabled/post-run.xsession similarity index 100% rename from .config/vcsh/hooks-enabled/xsession.post-run rename to .config/vcsh/hooks-enabled/post-run.xsession