I am currently trying to keep track of my config files in a repo to be able to get the configa back together easily if/when I change distro, but I am not sure if that’s the best way or if I should be using some tool to help me since I some programs keep preferences in other directories other then $HOME (at least I think so). Can you guys share with me your must used/trusted simple process for this?

Thank you and specially thanks to everyone who is being helpful in this community for the past few weeks, I’ve learned much and got some very useful tips from the comments in my posts and in other people posts too.

  • mim@lemmy.sdf.org
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    I manage them using git and stow.

    Stow is very useful, but a bit unknown. Hard to explain in a Lemmy post, but basically it helps you manage symlinks between your git repo directory and your $HOME.

    You can “install” and “uninstall” configs by managing the symlinks with stow.

    • flyhunter@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I do the same plus a python script to automate the stowing. This plus konsave plus a script to install packages and it is a breeze to reinstall the OS

    • Machindo@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Same but with the addition of a Brewfile to manage installed apps/CLIs (supports both Mac and Linux)