[neomutt-users] can a "hook" execute a shell command?

Steve Quezadas steveeq1 at gmail.com
Sun Oct 13 00:58:59 CEST 2019

Is there any way to have a "hook" execute a shell command? Either through a:
- <pipe-entry>
- tick marks (``)
- through "a macro"

I checked the neomutt documentation (
and it says that the hook command can execute something with backticks:
> shutdown-hook 'echo `mbsync -a`'

But whenever I do that, I get:
> echo: unknown command

I tried doing a:
> shutdown-hook 'echo `ls`'

and I still get the same error. Am I missing something?

- Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20191012/45364328/attachment.html>

More information about the neomutt-users mailing list