From e494e155740667c9e9996efa99e55e602acd63f0 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 19 Oct 2023 22:36:58 +0200 Subject: [PATCH] funcsave: Always use local $funcdir This abused default scope --- share/functions/funcsave.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/functions/funcsave.fish b/share/functions/funcsave.fish index ec24bd283..fe054b571 100644 --- a/share/functions/funcsave.fish +++ b/share/functions/funcsave.fish @@ -8,6 +8,7 @@ function funcsave --description "Save the current definition of all specified fu return 0 end + set -l funcdir if set -q _flag_directory set funcdir $_flag_directory else