Closed dnadlinger closed 2 years ago
Could we change our variable name instead?
set --local
ing the variable to be empty before --local --append
ing to it seems to be the correct fix either way, whatever the name. I'm not a fish expert, but it seems like what the code is currently doing with --local
is perfectly appropriate, except for the first set --local --append
pulling in a non---local
value. Conversely, once it's properly local, there is probably no reason to use a more cumbersome name.
Another option is to declare out
as an argument to the function so it will be empty from the start.
Thank you, @dnadlinger! Just got around to merging here. 💯
Nix tends to set
$out
in various circumstances, which shouldn't leak into the prompt line.