Skip to content

Question: Using read to set a variable #42

@ScottFreeCode

Description

@ScottFreeCode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions