fish-shell/fish-shell — pull request #187 by maxfl (2012-06-27 03:43:28+00:00)
Title: Add -e option to funced

New option -e or --editor allows to edit function inside external
editor, rather than in reader.

It uses $EDITOR variable, or tries to use first existing terminal editor from the list:
edit nano pico joe mcedit vim vi
Are there other editors could be added to the list? Or other ways to figure it out?

It also uses mktemp command, which I suppose to be on all unix systems. Or not?