From bd783af3498a856d27eb0aa616dd09f6b2215fda Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Wed, 18 Jan 2012 03:23:19 +0100 Subject: [PATCH] Add hooks for generic command execution pre-command and post-command will always be executed before and after any command is being executed. This does not affect inner calls. --- vcsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcsh b/vcsh index 4732e46..f922cea 100755 --- a/vcsh +++ b/vcsh @@ -283,5 +283,7 @@ done verbose "$VCSH_COMMAND begin" export VCSH_COMMAND=$(echo $VCSH_COMMAND | sed 's/-/_/g') +hook pre-command $VCSH_COMMAND +hook post-command verbose "$VCSH_COMMAND end, exiting" -- 2.39.5