diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 455e035b6..b6c0d2623 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -104,6 +104,8 @@ function funced --description 'Edit function definition' set -l new_checksum (__funced_md5 "$tmpname") if test "$new_checksum" = "$checksum" echo (_ "Editor exited but the function was not modified") + # Don't source or save an unmodified file. + break end end