My collection of my dotfiles used across multiple systems and managed by chezmoi.
sh -c "$(curl -fsSL get.chezmoi.io)" -- init --apply mauvehed
Personal secrets are stored in 1Password and you'll need the 1Password CLI installed.
After installation or major changes you may need to relogin to 1Password with:
eval $(op signin)
Name | Description | Required |
---|---|---|
Terminal | iTerm2 | No |
Package manager | homebrew | Yes |
Shell | oh-my-zsh | Yes |
oh-my-posh | oh-my-posh | Yes |
Dotfiles manager | chezmoi | Yes |
Password Manager | 1password | Yes |
To add new files to chezmoi control:
chezmoi add <file>
To edit a file under chezmoi control:
chezmoi edit <file>
To preview changes before applying:
chezmoi diff
To apply changes from .local/share/chezmoi/
to ~/ use:
chezmoi apply
To both git pull
and chezmoi apply
use update
chezmoi update
To force a refresh the downloaded archives (from .chezmoiexternal.toml
), use the --refresh-externals (-R) flag to chezmoi apply:
chezmoi -R apply
To test chezmoi template files (.tmpl):
chezmoi execute-template < dot_gitconfig.tmpl
To execute git commands within the chezmoi source director you can append them to the chezmoi command
Git pull:
chezmoi git pull
Git push:
chezmoi git push
Git status:
chezmoi git status