Skip to content

mauvehed's personal dotfiles for personal and work environments

License

Notifications You must be signed in to change notification settings

mauvehed/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitleaks

dotfiles & config management

My collection of my dotfiles used across multiple systems and managed by chezmoi.

Quick Start

  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)

Tools Used

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

Command Reference

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

Chezmoi and Git

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

Resources