Skip to content

Per-user Config

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:

python
config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
git_config(name="My Name", email="my@email.com", editor="vim")

The file should be placed in the XDG config directory of the project:

  • Linux & macOS: ~/.config/envd/config.envd

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.

Released under the Apache-2.0 License. Built with VitePress.