mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
funcsave: Always use local $funcdir
This abused default scope
This commit is contained in:
parent
dd12f55dc2
commit
e494e15574
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user