Setup for this repo is based on the method described in The best way to store your dotfiles.
git clone --bare git@github.com:jonseitz/dotfiles $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config checkoutYou may need to delete any existing files that would be overwritten.
The .bash_aliases creates a config command aliased to
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOMEI'm using a couple drop-in replacements for standard commands:
neomuttformuttneovimforvim- with
neovim-drop-infrom the AUR
- with
exaforls
Vim and AUR packages are included as submodules. Once you've finished setup, run config submodule init to clone the correct packages. AUR packages can then be installed as usual.