funced: suggest saving functions when an editor is used

This commit is contained in:
David Adam 2021-08-10 21:47:15 +08:00
parent 8dd4c67db1
commit ff8f26e65a

View file

@ -166,6 +166,9 @@ function funced --description 'Edit function definition'
end
else if set -q _flag_save
funcsave $funcname
else
printf (_ "Run funcsave %s to save this function to the configuration directory.") $funcname
echo
end
end
break