[mc] Notifying about errors from user menu items?
skejg
grolleman at zoho.com
Tue Aug 20 05:21:36 UTC 2024
Hi!
How do you guys handle errors when launching user menu items, for
example?
Like, if you select a menu item, run it, it fails, prints something to
/dev/sderr, then what do you do not to miss it? Always perform <C-o> to
check the output? Notify yourself somehow? Something else?
For now, I just try to construct menu items like this:
git am -3 %d/%f \
|| notify-send -i dialog-error -a "ERROR" "The patch was aborted"
But maybe there's a better way? More *MC-like* way? :)
Thanks!
--
skejg
More information about the mc
mailing list