New "edfunc" command: open an editor to edit a function in the current
shell session