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 
      
    • wltr@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month 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.