8000 GitHub - ash211/config: My configuration settings · GitHub
[go: up one dir, main page]

Skip to content
ash211Public

About

My configuration settings

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

config

Personal dotfiles, managed with chezmoi.

Install on a new machine

brew install chezmoi
git clone git@github.com:ash211/config.git /Volumes/git/config
mkdir -p ~/.config/chezmoi
printf 'sourceDir = "/Volumes/git/config"\n' > ~/.config/chezmoi/chezmoi.toml
chezmoi diff
chezmoi apply

Day to day

chezmoi edit ~/.zshrc   # edit the source copy; editing ~/.zshrc directly gets overwritten on apply
chezmoi diff            # preview
chezmoi apply -v        # write to ~
chezmoi re-add          # pull changes made directly in ~ back into the source

Machine-specific config

Not checked in here:

  • ~/.zshrc.work and ~/.gitconfig.work: work-only additions, managed by a separate chezmoi instance through the workmoi wrapper in ~/.local/bin. ~/.zshrc and ~/.gitconfig load them when present.
  • ~/.zshenv: secrets such as API tokens.

Code/ holds VS Code settings for reference. chezmoi doesn't install them.

About

My configuration settings

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0