mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-24 12:59:56 +08:00

This uses the same logic we use to create the variables to find them - go through the scopes, the topmost local scope *is* function-scope. Fixes #8684