Environment selector (for bash shells) #4268
mastertheif
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment selector (for bash shells)
First, thanks everyone who have worked on Mise, it really changed my workflow in an wonderful way! :)
I'm not sure if this will be useful for anyone but me, but there is a little script (bash only) that scans the project/.config directory to be able to select an environment and set MISE_ENV using gum.
Just type selectEnv anywhre in your project
ex:
Organization tree
mise.toml
mise.nameEnvX.toml
It will print the current environment you are in on your shell
selectEnvMiseProject
.bashrc
Add this to your .bashrc file and reload your shell
Beta Was this translation helpful? Give feedback.
All reactions