方案一:设置$XDG_CONFIG_HOME环境变量 设置环境变量: 你可以在你的shell配置文件中(如.bashrc、.zshrc等)添加以下行来设置$XDG_CONFIG_HOME环境变量。例如,将其设置为~/.config: bash export XDG_CONFIG_HOME=~/.config 使环境变量生效: 修改完配置文件后,你需要重新加载它或重启你的shell会话。在bash中,你可...
${XDG_CONFIG_HOME:-~/.config}正是多么xdg-user-dirs是这样吗?(它是一个shell脚本)。它自2008年...
A change in build 135223 has been reviewed by the Flathub team (@flathub/build-moderation), and rejected for the following reason: The app should use XDG_CONFIG_HOME to access config directories instead of HOME. If it uses HOME please us...
You can always separately version-control both, or have an additional $DOCKER_DATA_HOME pointing to $XDG_DATA_HOME/docker/data if you need further customisation. But I think it is more common to version-control your whole XDG_CONFIG_HOME. No survey available obviously 😆. 👍 2 vdemeest...
Add support for the XDG_CONFIG_HOME env variable, if not present put it in the HOME variables, else take the value of XDG_CONFIG_HOME as a base. Like with XDG_CONFIG_HOME='~/.config', SupraPack should search in the~/.config/SupraPackfolder for the config ...
.config:我的$ XDG_CONFIG_HOME用于* NIX系统颜若**若兮 上传 Ruby .config 我的$XDG_CONFIG_HOME用于* NIX系统(主要是Linux,但仍可在macOS上使用)上的用户帐户。 此仓库还包含通常属于用户$HOME目录顶层的点文件,并依靠地生成符号链接。 安装 # --recursive is for including submodules $ git clone --...
back to traditional ~/.rpmmacros iff it exists and there's no config in the XDG location. As per the XDG spec, if ${XDG_CONFIG_HOME} is not set, it defaults to ~/.config Fixes: #2153 You can view, comment on, or merge this pull request online at:https://github.com/rpm-softwar...
Re: [Rpm-maint] [rpm-software-management/rpm] Support per-user macro configuration in XDG_CONFIG_HOME (PR #2992) Michal Domonkos Tue, 26 Mar 2024 02:19:53 -0700 @dmnks approved this pull request. Looks good now! And thanks for the updated commit message (wrt the "rpm --showrc" ...
The frankenphp image sets $XDG_DATA_HOME = /data and $XDG_CONFIG_HOME = /config and in the compose.yaml these directories are mounted like this: volumes: - caddy_data:/data - caddy_config:/config As these are just the XDG_ directories of the container OS, isn't is more fitting to...
Mentioned in #122 @dominiklohmann Support the XDG base directory spec: Check for the configuration file in the following places (in order): ${XDG_CONFIG_HOME}/yabai/config ${HOME}/.config/yabai/config ${HOME}/.yabairc