Open cklin731 opened 2 months ago
Hello @cklin731,
To set the .config
directory on macOS, set the XDG_CONFIG_HOME
environment variable. Add this line to your shell configuration file:
export XDG_CONFIG_HOME="$HOME/.config"
You can add this to one of the following files, depending on your shell:
~/.bash_profile
or ~/.bashrc
for Bash~/.zshrc
for ZshAfter editing, restart your terminal or run source <config_file>
to apply changes.
For future questions, please open discussions in the Q&A category.
Hello guys. How can I set the .config dir for setting dir on macos. Thanks for your help.