mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-28 14:16:40 +08:00

... even if the file hasn't changed. This addresses an oddity in the following case: * Shell is started, * function `foo` is sourced from foo.fish * foo.fish is *externally* edited and saved * <Loaded definition of `foo` is now stale, but fish is unaware> * `funced foo` loads `type -p foo` showing changed definition, user exits $EDITOR saving no changes (or with $status 0, more generally). * Stale definition of `foo` remains (cherry picked from commit 2c2ab0c1fac1c982a682594d920e8fef735106fd)