Emacs: DWIM shell command (multi-language)

from blog lmno.lol @alvaro, | ↗ original
UPDATE: dwim-shell-command is now available on melpa. I keep on goofying around with dwim-shell-command and it's sibling dwim-shell-command-on-marked-files from dwim-shell-command.el. In addition to defaulting to zsh, dwim-shell-command-on-marked-files now support other shells and languages. This comes in handy if you have snippets in different...