We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://wiki.archlinux.org/title/XDG_Base_Directory 现在一般都是在 $HOME/.config/ 目录下面放配置文件, 是否把默认配置文件放到 .config/ 下面?
默认配置文件不太规范
No response
The text was updated successfully, but these errors were encountered:
默认当前用户目录下。不改,改了默认地址升级后全都用不了。
Sorry, something went wrong.
这个倒是不会, 可以参考 aliyun-cli 或 kubectl 之类的,有个命令参数配置 或 环境变量 指定 配置文件路径 在程序内也可以做一个 if 判断, 优先查找 .config/ 其次查找 $HOME/ 就能做到兼容旧、新版
有些系统可能没有.config目录。目前正常使用,暂不考虑
No branches or pull requests
Description
https://wiki.archlinux.org/title/XDG_Base_Directory
现在一般都是在 $HOME/.config/ 目录下面放配置文件,
是否把默认配置文件放到 .config/ 下面?
Problem
默认配置文件不太规范
Other Description
No response
Checklist
The text was updated successfully, but these errors were encountered: