bashrcd
dotbot
bashrcd | dotbot | |
---|---|---|
1 | 31 | |
0 | 6,794 | |
- | - | |
2.5 | 5.8 | |
3 months ago | 2 months ago | |
Shell | Python | |
Apache License 2.0 | MIT License |
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
-
Using GNU Stow to manage your dotfiles (2012)
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.
dotbot
-
Nix Home Manager Option Search
Many command line programs keep their configurations somewhere under $HOME. These are often called "dotfiles".
If you ever use more than one machine, likely you'll want the same configuration available on all those machines.. so you'll want some way to copy them to a new machine.
Some dotfile managers are quite simple, like dotbot. https://github.com/anishathalye/dotbot
Home Manager from the Nix community is a bit more sophisticated. It allows for writing configurations in the Nix language, which is nice if you know/like Nix. (Nix is a powerful/expressive package manager. Nix is to apt-get what vim is to notepad).
-
Managing my dot files: Git bare or Stow ?
I started using DotBot a couple of years ago and love it. I store my git repo at ~/.dotfiles, and DotBot handles the symlinking and everything
-
Dotfiles Management
Dotbot (https://github.com/anishathalye/dotbot) has worked extremely well for me. It’s simple to setup, has minimal dependencies, and it is also easy to run arbitrary commands if I want to get tricky with things. I would highly recommend it.
- What are some good habits to keep your Arch clean?
-
Please remind me of the thread on managing init.el for Emacs across multiple machines & OS'
You might also like something like https://github.com/anishathalye/dotbot. I manage all of the config I care about with this, as part of a repo that also gives me all of the other system setup and customization I expect in my environment.
-
Where do you guys store your dot files
With dotbot in my GitHub-repository
-
What's your vertical / horizontal split keys?
| for vertical split, - for horizontal split: easy to remember. I have lots of things in my config file, so I don't have an issue with a bit more customization. Installing my .tmux.conf is easy because I use the dotbot dotfile manager.
-
Anyone else using git submodules to manage your plugins?
I use dotbot to manage my dotfiles, which is good for anything I need to install prior to installing plugins (I use vim-plug).
-
Managing your Dotfiles with Dotter (Tutorial)
I'm glad you asked! There are plenty of dotfiles managers out there, like chezmoi, Dotbot, or yadm (you can see a list here and a comparison table (from chezmoi, thus biased) here. But for this tutorial (and my dotfiles), I chose dotter.
-
Best dotfiles manager
dotbot is fine.
What are some alternatives?
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
chezmoi - Manage your dotfiles across multiple diverse machines, securely.
nix - my nix modules, overlays, host configurations, and more!
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
yadm - Yet Another Dotfiles Manager
dotfiles - Settings for various tools I use.
nvim-notify - A fancy, configurable, notification manager for NeoVim
bashdot - Minimalist dotfile management framework.
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
nix - Nix, the purely functional package manager