With run-mailcap

compose

  • An alias to a `run-mailcap`'s action compose.
    Originally `run-mailcap` is used to mime-type/file.
    More information: <https://manned.org/compose>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

run-mailcap --action=compose {{filename}}

click the source code to copy install compose on any operating system with command-not-found.com