Sometimes your computer explodes. Sometimes your roommate spills water on it.
If you keep your config files uploaded to github/gitlab, you can avoid recreating your dotfiles (.vimrc, .bash_profile, .sh, .zshrc) and reconfiguring every laptop and virtual machine you encounter.
Step 1: Upload your config to Github
Step 2: Encounter a new computer
Step 3: Download your configs immediately and set up your symlinks
set up .vimrc
cd && git clone https://github.com/theptrk/.vim
ln -s ~/.vim/vimrc ./vimrc
fd mapped to
set up .bash_profile
cd && git clone https://github.com/theptrk/.bash
ln -s ~/.bash/bash_profile ./bash_profile
l to see all files,
gs for git status,
bp for bash_profile and
bpr for reloading bash_profile
TODO: create a startup script to download these and symlink it appropriately. How though?