Function shrs_core::hooks::before_command_hook
source · pub fn before_command_hook(
sh: &Shell,
sh_ctx: &mut Context,
sh_rt: &mut Runtime,
ctx: &BeforeCommandCtx
) -> Result<()>Expand description
Default implementation for BeforeCommandCtx