Skip to content
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

[Feature]: 希望增加全局配置文件 #301

Open
ieayoio opened this issue Jun 6, 2024 · 0 comments
Open

[Feature]: 希望增加全局配置文件 #301

ieayoio opened this issue Jun 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ieayoio
Copy link

ieayoio commented Jun 6, 2024

根据文档所写,目前vfox配置文件在$HOME/.version-fox/config.yaml中,这个文件只对当前用户生效,希望可以增加全局配置文件,当前用户配置文件不存在时配置以全局配置文件为准,当前用户配置部分配置时,覆盖全局配置文件对应设置

1. Your usage scenarios?

在linux服务器中存在多个用户,新建用户后,我们希望通过全局配置给新建用户一个开箱即用的vfox环境,而不是每个用户都需要做一堆配置后才能使用

2. What is your expected outcome?

希望vfox可以拥有一个全局的配置文件,在linux下例如:/etc/version-fox/config.yaml,可以对vfox默认配置进行全局配置,用户依然可以通过$HOME/.version-fox/config.yaml配置,$HOME/.version-fox/config.yaml存在的配置会覆盖全局默认配置,不存在的配置会使用默认配置

@ieayoio ieayoio added the enhancement New feature or request label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant