There are some configurations that you want to adopt for every project. For example, the git config and software mirror configurations.
You can create a
config.envd file to achieve this:
config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple") git_config(name="My Name", email="firstname.lastname@example.org", editor="vim")
The file should be placed in the XDG config directory of the project:
- Linux & macOS:
It will be loaded automatically when you run
envd build or
envd up. Thus you can put your configurations in the
config.envd file to enable them for all your projects.