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

  • tvcvt@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    I do a git repo for my dot files with an installer that configures it based on whether I’m using Linux, macOS, or FreeBSD; a server or desktop; and whether I’m in bash or zsh. It also includes a bunch of functions and aliases that I find useful. It’s not always pretty because I also use it as a practical place to try new shell script bits when I have time. I’m hoping to change some things around soon thanks to some ideas from Dave Eddy’s bash course at ysap.sh.

    • eldavi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      i used to do this, but couldn’t figure out how to stay on top of the changes introduced by distro’s and updates to the apps; did you figure these out somehow?

      • tvcvt@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        I pretty much stick to straight bash and core utils, so it’s not much of a burden. Plus on the Linux side, I mostly stay with Debian and its derivatives, which limits some of the work.

        But really I don’t consider every feature of my dot files to be a finished product. The core stuff is reliable, but if I catch a problem with anything more esoteric or if I see some functionality that looks interesting, it’s a brain teaser I get to tackle.

  • jerieljan@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    I use Syncthing with a folder called “Configuration Files” where I drop all my sync-able configs and dotfiles and I simply symlink them as needed.

    • dizzy@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      4 days ago

      For me it’s more about keeping multiple systems in sync and working as intended. E.g. I have my laptop, a home server with couple different distros and a few cloud VMs. Whenever I change a keybind in neovim or tmux or whatever, I just save the changes in a slightly different way and now every machine has those changes so I don’t need to update each machine manually.

  • bbleml@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days ago

    I use home-manager to manage most of my dotfiles and store them in a git repository. Additionally, I just symlink the configurations I’m too lazy to write as home-manager options (yet), which in turn is a decent way to make migrating to home-manager options less upfront.

  • desentizised@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    I don’t necessarily sync my dotfiles across machines, at least not in a blanket fashion. But I use Seafile to keep all sorts of directories in sync across machines. It’s basically a self-hostable Dropbox.

  • Nick@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    I just wrote a bash script copies the relevant files or directories I want to back up from either ~ or ~/.config and places them in a local git directory which I then push to a private repo on Codeberg. Super janky and manual but I update dotfiles so seldom that it works for what I need.

  • Obin@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 days ago

    I’m using VCSH, which allows me to split the home directory into multiple git repos without worrying about symlink consistency (like with GNU stow) or apps that have problems with symlinks.

    The syntax is exactly the same as git, only that I do (for example) vcsh emacs add -p instead of git add -p.

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    For ZSH, I have a script that automatically installs oh-my-zsh and a bunch of zsh plugins, and changes my default shell to ZSH.

    For everything else, some files will just get copied over, others left behind. I only “manage” them when I need to view/edit them.