this post was submitted on 28 May 2026
11 points (92.3% liked)
unixporn
308 readers
29 users here now
*The FREE home for NIX customization! Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make chatters happy. Maybe a server running on an RPi, or a MNT Reform signed by RMS? Show the world how free your computer can be!
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I can't figure out how to have them picked up correctly while anywhere else.
for ZSH, you can set a variable named ZDOTDIR to ~/.config/zsh . You do that in a global config file somewhere in /etc . (/etc/zprofile maybe?). You can then put .zshrc and other zsh config into the .config/zsh/ directory.
EDIT: here's an excerpt from my old notes for setting up a new computer:
Thank you for the lead! I will look into this.
It looks like your zsh configs are symlinks, if I understand the icons correctly. I stopped using zsh, returning for bash (only to understand whether I really need any other shell), and my configs are also symlinks, it works with them. I haven’t investigated whether you can move them to .config. Would love to learn if someone knows that.