Dotfiles are your Digital Backpack
madewithtea.com
madewithtea.com
My dotfiles repo (https://github.com/fredsmith/dotfiles/) uses this to maintain a clean, readable configuration directory that doesn't mess up my homedir with a bunch of symlinks, and the only installation I have to do is: "ln -s ~/dotfiles/bashrc .bashrc"
export VIMRUNTIME=$HOME/.local/vim/
alias vim="vim -u $HOME/.local/vim/vimrc"I think it works particularly well when you have a dotfiles setup where specific pieces of the setup differ by host but the rest is largely the same. For example, I've broken my zshrc, bashrc, and gitconfig into the common parts and the host specific parts to maximize DRY and maintainablity.
It's also on GitHub if anyone's curious about the setup
https://github.com/jez/dotfiles/blob/master/bash_profile https://github.com/jez/dotfiles/blob/master/zshrc
My baby dotfiles here: https://github.com/tacone/dotfiles
I've never worked with a public GitHub repository, so I probably just don't understand; but how do you prevent disaster when allowing other people to modify your configuration? Setting aside malicious modifications, no-one else knows your set-up like you do, and it seems like it would be easy inadvertently to get yourself into a non-recoverable state.
It does mean I have to update it whenever I add a new application to my default setup, or an application/tool has a new configuration layout. But those are pretty rare.
> I can quickly clone the git repository and fire up my bootstrap script to wire all the symlinks, aliases and scripts
Though personally I don't use symlinks for my scripts (only my dotfiles) - for my scripts I simply add my git checkout to my $PATH
https://github.com/RichiH/vcsh
https://github.com/joeyh/myrepos
[1]: You could deck me out with a Klein Tools bag full of their wares and I would still have no business being in front of your breaker panel. A craftsman is so much more than his collection of physical things. Is SEO the answer to: What the connection is between the craftsman and the streamlined factory link? Or why every tenth word needed to be emphasized?
An interesting example of this is provided by Adam Savage - look up anything he's written or said about "first order availability", and about his toolboxes he created and maintained while working at ILM.
But then I managed to saved around 2 GB of Ram just by unloading Daemons.
If anyone is interested to chip in, thankful for any link or suggestion:
Everytime I start a new instance of vagrant it just download the dot file from github.
It's a pretty neat combo.
It's simple, it just installs some packages and copy dotfiles where they have to be but I had fun working on it.