feat: support dotfiles or something equivalent
Description
Codespace/Gitpod supports dotfiles to init the dev environments.

- https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account#dotfiles
So far, envd can set up the shell prompt. But still lack some features. Maybe we can find a way to support dotfiles or something equivalent.
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
Can the envd clone from the dotfile repo that the user has configured and replaces the dotfiles in the user directory while building the envd images?
It is possible, I think.
Hi, it sounds like envdlib is a trivial way to implement this? For example, having a dotfiles.envd that accepts a github repository link as parameter and setups dotfiles from there, so users can do
envdlib.dotfiles(repo="https://github.com/hxu296/mydotfiles")
Thanks to the power of envdlib.
Hi, it sounds like envdlib is a trivial way to implement this? For example, having a
dotfiles.envdthat accepts a github repository link as parameter and setups dotfiles from there, so users can doenvdlib.dotfiles(repo="https://github.com/hxu296/mydotfiles")
This might be possible. You can try it. Thanks.