From 0368910e189d2bb587d360d0a56307f3467aa8cf Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 20 Jun 2017 11:27:23 +0200 Subject: [PATCH 1/1] Convert hooks to run for all affected repos --- .config/vcsh/hooks-available/xsession.post-run+enter | 5 ++++- .../{xsession.post-enter => post-enter.xsession} | 0 .../hooks-enabled/{xsession.post-run => post-run.xsession} | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename .config/vcsh/hooks-enabled/{xsession.post-enter => post-enter.xsession} (100%) rename .config/vcsh/hooks-enabled/{xsession.post-run => post-run.xsession} (100%) 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 -- 2.39.5