envy icon indicating copy to clipboard operation
envy copied to clipboard

Question: Using read to set a variable

Open ScottFreeCode opened this issue 1 year ago • 0 comments

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.)

ScottFreeCode avatar Sep 11 '23 01:09 ScottFreeCode