envd icon indicating copy to clipboard operation
envd copied to clipboard

feat: support dotfiles or something equivalent

Open kemingy opened this issue 3 years ago • 4 comments

Description

Codespace/Gitpod supports dotfiles to init the dev environments.

image

  • 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 👍.

kemingy avatar Aug 26 '22 03:08 kemingy

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?

Triple-Z avatar Oct 12 '22 11:10 Triple-Z

It is possible, I think.

gaocegege avatar Oct 13 '22 01:10 gaocegege

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.

hxu296 avatar Apr 23 '23 20:04 hxu296

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

This might be possible. You can try it. Thanks.

kemingy avatar Apr 24 '23 00:04 kemingy