This patch makes the name of a temporary file to have a .zsh suffix so that the invoked editor will know it's a zsh script. The .zsh suffix is commonly recognized by editors like Emacs, Vim and VS Code. It's so much easier to edit a command line in a proper editing mode than in a plain text mode. -- Akinori MUSHA / https://akinori.org/