Skip to content

justmiles/dotfiles

Repository files navigation

justmiles dotfiles

This is how I bootstrap my machines

Usage

  1. Install chezmoi

    sh -c "$(curl -fsLS chezmoi.io/get)"
  2. Initialize this repository with chezmoi.

    chezmoi --source ~/.config/chezmoi-public --cache ~/.cache/chezmoi-public --refresh-externals init --apply https://github.com/justmiles/dotfiles.git
  3. Add the following to your .zshrc

    autoload -U +X compinit && compinit
    autoload -U +X bashcompinit && bashcompinit
    
    for f in $(find ~/.bashrc.d -type f | sort ); do
        source $f || echo "[$f] could not load - exit code $?"
    done

To update the latest, just run chezmoi-public update

Bootstrapping

By default, chezmoi apply will bootstrap a machine with software. This is an idempotent process and won't re-install software that is already installed. To update everything (or force re-install) manually, run FORCE_REINSTALL=y chezmoi apply.

To run updates against individual bootstrapping scripts, run FORCE_REINSTALL=y ~/.local/share/bootstrapping/SCRIPT.sh

To install these scripts without bootstrapping, run

chezmoi --exclude scripts --source ~/.config/chezmoi-public --cache ~/.cache/chezmoi-public --refresh-externals init --apply https://github.com/justmiles/dotfiles.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages