dotfiles

My personal collection of configuration files. (by jez)

Dotfiles Alternatives

Similar projects and alternatives to dotfiles

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dotfiles alternative or higher similarity.

dotfiles reviews and mentions

Posts with mentions or reviews of dotfiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-26.
  • Ask HN: How do you sync your computers development configurations/environment?
    33 projects | news.ycombinator.com | 26 May 2022
    I use a tool called rcm[0], which is essentially a set of shell scripts for managing symlinks from $HOME into $HOME/.dotfiles. $HOME/.dotfiles can then be a git repo.

    Some notes:

    1. rcm lets you decide make host-specific or host-agnostic dotfiles. For example, I can declare that I want a different `.ssh/config` file for each host, and rcm will figure out which `.ssh/config` to symlink based on the current machine's hostname.

    2. The installation process is very simple. It's just shell scripts, so you don't have to have a compiler. Operating system packages exist for the common platforms, and there's also a convenient way to "build" from source using configure && make && make install. The from source option is particularly convenient if you need to change the installation prefix to a user-writable location on a multi-user machine.

    3. I use SSH Agent Forwarding[1] to avoid needing to install private keys (either new keys or copies of existing keys) on all the hosts I manage. This lets me git push and pull to my dotfiles repo on all hosts.

    4. Taking it a step further, some shell config I have is host-specific (e.g., certain PATH modifications I only want to apply on certain hosts). Rather than use the host-specific dotfile feature of rcm for the whole .bashrc, I factor my shell config files into multiple files, that I then source. One of these files is called `$HOME/.util/host.sh`, which is host specific. Again, rcm creates a symlink from this to the correct host-specific file automatically by hostname.

    If you're curious to learn more about any of this, my dotfiles are public.[2]

    [0] https://github.com/thoughtbot/rcm

    [1] https://docs.github.com/en/developers/overview/using-ssh-age...

    [2] https://github.com/jez/dotfiles

Stats

Basic dotfiles repo stats
1
122
8.1
17 days ago

jez/dotfiles is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of dotfiles is Shell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com