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.

  • Štěpán@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    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