diff --git a/shell.go b/shell.go index 0ea23d5..513219b 100644 --- a/shell.go +++ b/shell.go @@ -31,6 +31,7 @@ func RunInput(input string) { continue } } + hooks.Em.Emit("command.preexec", input, cmdString) // First try to load input, essentially compiling to bytecode fn, err := l.LoadString(cmdString)