-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: default environment tutorial #75
Conversation
4d10b48
to
9d2ba1e
Compare
9d2ba1e
to
30a681d
Compare
|
||
In the typical development case you would create a directory for your project, | ||
`flox init` to create an environment for it, | ||
then `flox activate` in that directory when you want to work on that project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then `flox activate` in that directory when you want to work on that project. | |
and then `flox activate` in that directory when you want to work on that project. |
```bash | ||
# Create and enter a new temporary directory | ||
$ cd $(mktemp -d) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: not sure if this command be helpful for teaching the concept, but it felt a tad contrived to me. It feels like it's going out of the way to say "you probably Flox to work in a different directory, and you're right, Flox doesn't fail in a way you don't expect it to fail"
Depending on when you created your default environment | ||
(the default was changed recently), | ||
you may also see `flox [default]` as part of your prompt for every new shell. | ||
You can configure that with a single command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: are you going to come back and change this in 2 weeks? It's going to get stale fast
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know about 2 weeks, but at some point yes I will change it
No description provided.