diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 1cba34efa..3724b4eb5 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -114,7 +114,9 @@ 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. + # Source but don't save an unmodified file. + # (Source in case the file changed externally since we first loaded it.) + source "$writepath" break end end