My dotfiles are managed with GNU stow.
- Clone the repository, including submodules 4 at a time
git clone --recurse-submodules -j4 git@github.com:nickpwhite/.dotfiles.git ~/src/dotfiles cd ~/src/dotfiles- Install only bash's dotfiles, for example, with
stow -t $HOME bash - Install terminal-only dotfiles with
stow -t $HOME $(ls -d */ | grep -v ^x-) - Install all dotfiles with
stow -t $HOME $(ls -d */)
When opening nvim, run :PlugUpdate in order to install plugins.
- Change into the
~/src/dotfilesdirectory git pull- Update all dotfiles with
stow -t $HOME -R $(ls -d */) - Update only bash's dotfiles, for example, with
stow -t $HOME -R bash
- Change into the
~/src/dotfilesdirectory - Remove all dotfiles with
stow -t $HOME -D $(ls -d */) - Remove only bash's dotfiles, for example, with
stow -t $HOME -D bash