<div dir="ltr">Is there any way to have a "hook" execute a shell command? Either through a:<br>- <pipe-entry><br>- tick marks (``)<br>- through "a macro"<br><br>I checked the neomutt documentation (<a href="https://neomutt.org/feature/global-hooks#targetText=Run%20a%20command%20when%20NeoMutt%20shuts%20down%2C%20before%20closing%20the%20last%20mailbox&targetText=This%20feature%20implements%20a%20hook,useful%20to%20users%20of%20notmuch">https://neomutt.org/feature/global-hooks#targetText=Run%20a%20command%20when%20NeoMutt%20shuts%20down%2C%20before%20closing%20the%20last%20mailbox&targetText=This%20feature%20implements%20a%20hook,useful%20to%20users%20of%20notmuch</a>.) and it says that the hook command can execute something with backticks:<br>> shutdown-hook 'echo `mbsync -a`'<br><br>But whenever I do that, I get:<br>> echo: unknown command<br><br>I tried doing a:<br>> shutdown-hook 'echo `ls`'<br><br>and I still get the same error. Am I missing something?<br><br>- Steve<br></div>