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
 

Void and xbps are pretty good at keeping a clean home, but after a while you do accumulate dot clutter regardless.

I did a full sweep today to remove cruft, relocate essentials to better locations in ~/.local, and generally organize my home.

Looks and feels good man.

you are viewing a single comment's thread
view the rest of the comments
[–] wesker 3 points 1 day ago (2 children)

I can't figure out how to have them picked up correctly while anywhere else.

[–] stepan@lemmy.cafe 4 points 1 day ago* (last edited 1 day ago) (1 children)

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:

edit the file  /etc/zsh/zshenv , add the following lines to the file:

export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_STATE_HOME=$HOME/.local/state
export XDG_CACHE_HOME=$HOME/.cache
export ZDOTDIR=$HOME/.config/zsh 
[–] wesker 1 points 1 day ago

Thank you for the lead! I will look into this.

[–] wltr@discuss.tchncs.de 1 points 1 day ago

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.