envy
envy copied to clipboard
Question: Using read to set a variable
I sometimes use read PASSWORD
to put a password into an environment variable without entering it into my shell history. (Sometimes I export PASSWORD
afterwards, depending on what I'm passing it to.)
Could envy set namespace VARIABLE
with no = be shorthand for envy set namespace VARIABLE="${VARIABLE}"
?
Or could there be an envy
command equivalent to read VARIABLE
?
(Or, is either of these already a thing? I just looked at the documentation in the readme.)