bashrcd VS dotfiles

Compare bashrcd vs dotfiles and see what are their differences.

bashrcd

.bashrc organizer with helpers (by targaryen)

dotfiles

Mostly ~/.* files to configure vim, sh, tmux, etc. on Debian, Mac, and Windows (by susam)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
bashrcd dotfiles
1 4
0 -
- -
2.5 -
3 months ago -
Shell
Apache License 2.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bashrcd

Posts with mentions or reviews of bashrcd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-26.
  • Using GNU Stow to manage your dotfiles (2012)
    17 projects | news.ycombinator.com | 26 Dec 2020
    I moved to splitting my bashrc into multiple files and having my main bashrc source them from a ~/.bashrcd directory.

    At heart it's a short snippet that just checks for existence and sources each file in the directory:

    https://github.com/targaryen/bashrcd/blob/master/install/ins...

    I added aliases to list/edit/remove entries from the .bashrcd directory and resource it. And a script I can call with a one-liner to edit bashrc on a new machine to add the sourcing and the helper aliases.

    It'll load alphabetically so I can prefix entries with a number to specify load order (defaulting to 0100 so I don't need to specify this in the commands unless I explicitly changed them).

    So the end result is that I can quickly edit or create a new bashrc entry by running 'ebrc entryname'. This opens ~/.bashrcd/0100--entryname in vi, and when it's saved it'll re-source so the add/change takes effect immediately.

    Or 'lbrc' to list contents of the directory, or 'rbrc entryname' to remove ~/.bashrcd/0100--entryname

    It's fairly simplistic but takes away most of the cognitive load of managing a complex bashrc.

dotfiles

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 2023-12-24.
  • Let the (terminal) bells ring out
    2 projects | news.ycombinator.com | 24 Dec 2023
    Source: https://github.com/susam/dotfiles/blob/main/shrc#L381
  • How I run my servers
    8 projects | news.ycombinator.com | 16 Jul 2023
    I have a similar setup for my personal and project websites. Some similarities and differences:

    * I use Linode VMs ($5/month).

    * I too use Debian GNU/Linux.

    * The initial configuration of the VM is coded as a shell script: https://github.com/susam/dotfiles/blob/main/linode.sh

    * Project-specific or service-specific configuration is coded as individual Makefiles. This takes care of creatng An example: https://github.com/susam/susam.net/blob/main/Makefile

    * The software is written in Common Lisp. In case of a personal website or blog, a static website is generated by a Common Lisp program. In case of an online service or web application, the service is written as a Common Lisp program that uses Hunchentoot to process HTTP requests and return HTTP responses.

    * I use Nginx too. Nginx serves the static files as well as functions as a reverse proxy when there are backend services involved. Indeed TLS termination is an important benefit it offers. Other benefits include rate limiting requests, configuring an allowlist for HTTP headers to protect the backend service, etc.

  • My Favorite Commandline Oneliners
    7 projects | news.ycombinator.com | 3 May 2021
    I have something similar but a little more elaborate at my ~/bin to ensure that there isn't a severe loss of quality during the conversion: https://github.com/susam/dotfiles/blob/e434b7c/bin/xmp3
  • Using GNU Stow to manage your dotfiles (2012)
    17 projects | news.ycombinator.com | 26 Dec 2020
    I follow a similar but handcrafted approach. I have a dotfiles repo with a setup script that automates the creation or deletion of all the symbolic links: https://github.com/susam/dotfiles/blob/master/setup

    So what I do on any new system is just:

      git clone https://github.com/susam/dotfiles.git

What are some alternatives?

When comparing bashrcd and dotfiles you can also consider the following projects:

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

bashdot - Minimalist dotfile management framework.

nix - my nix modules, overlays, host configurations, and more!

dotfiles - Settings for various tools I use.

zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.

docker-rollout - 🚀 Zero Downtime Deployment for Docker Compose

securestore-rs - A simple, encrypted, git-friendly, file-backed secrets manager for rust

ShellCheck - ShellCheck, a static analysis tool for shell scripts