Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename mise env-vars to mise set (and other env-vars improvements) #1432

Closed
6 tasks done
jdx opened this issue Jan 10, 2024 · 0 comments
Closed
6 tasks done

rename mise env-vars to mise set (and other env-vars improvements) #1432

jdx opened this issue Jan 10, 2024 · 0 comments

Comments

@jdx
Copy link
Owner

jdx commented Jan 10, 2024

what do you think? (of course an alias would point back to env-vars for compatibility—this would just change the default name used in help and docs).

I think this is pretty clean:

$ mise set FOO=bar

I did recently add this alias:

$ mise ev FOO=bar

But I think I don't like it as much as set. This may be because I use fish and set is how you modify env vars so it's pretty natural. Perhaps bash/zsh users may not feel the same?

This is probably my favorite command that I suspect people rarely use. Perhaps it's on me to document it more clearly.

Some other improvements I want to see on this command:

@jdx jdx changed the title rename mise env-vars to mise set rename mise env-vars to mise set (and other env-vars improvements) Jan 10, 2024
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
@jdx jdx closed this as completed Jan 11, 2024
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
jdx added a commit that referenced this issue Jan 11, 2024
* Use ui::table for better formatting
* Allow viewing a single env var with `mise ev FOO`
* Added --global flag

See #1432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant