Hacked together a csh variant of the hook.