Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add -e option to funced #187
New option -e or --editor allows to edit function inside external
It uses $EDITOR variable, or tries to use first existing terminal editor from the list:
It also uses mktemp command, which I suppose to be on all unix systems. Or not?
Great work maxfl! Just one request, right now we are using external editor with "-e" option, we want to make external editor first choice and editing functions through shell could be done by passing option like "--shell" or "--no-editor" ( or find a better one).