shell script mode for external command line editor in zsh