Closed jaredmontoya closed 1 day ago
A single parameter given to bash-env
is expected to be a filename.
E.g. bash-env ~/.bashrc
To pass literal text, you should pipe it: dircolors | bash-env
, or echo "export MSG=hello" | bash-env
Even so, I think something is broken here. I'll look into it.
(I think the bash-env
function is not using $in
correctly.)
Thank you! it works.
bash-env-json: 0.9.1
when I do
bash-env (dircolors) | load-env
in nushell I get this error:the output of dircolors is:
dircolors | bash-env-json
works as expected