Hello, i would like to know how you manage your dotfiles.

Do you use some gui or tui?

There are many ways i don’t what to do.

Probably im going to do git repo with lazygit. I like tuis. I am managing files on two artix linux systems 1- pc and 2- laptop

  • zaubentrucker@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    ·
    2 days ago

    IMO you shouldn’t use branches for switching between configs. It makes it hard to compose and reuse your configuration.

    Just imagine you have a new config file that you now want to add to all of your machines. You’d now have to commit/cherry-pick on all of your branches. Change that file? Now you have to distribute the changes again and might even get conflicts.

    Additionally, many programs allow you to change your configuration directory via environment variables (usually XDG_CONFIG_HOME , I think). So you can even keep all machine-specifig configuration files in a single repo under different prefixes for those.