yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
5.84k stars 126 forks source link

Setting .config dir on macos. #343

Open cklin731 opened 2 months ago

cklin731 commented 2 months ago

Hello guys. How can I set the .config dir for setting dir on macos. Thanks for your help.

MrPandir commented 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:

After editing, restart your terminal or run source <config_file> to apply changes.

For future questions, please open discussions in the Q&A category.