Skip to content

fabitosh/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Using chezmoi to share configuration files across multiple systems.

Chezmoi config

Auto-commit changes

~/.config/chezmoi/chezmoi.toml
[git]
    autoCommit = true
    autoPush = true

Add new dotfile

  1. Edit the file
  2. chezmoi add .crazyconfig
  3. chezmoi apply

Get changes on other machine

chezmoi update

Edit config file

Don't edit the file directly! chezmoi will not track those changes.

  1. chezmoi edit .crazyconfig
  2. chezmoi apply

Badboi edited the file directly. Might cause conflicts.

  1. chezmoi apply .crazyconfig

Work in the editor of choice

Set export EDITOR='nvim' in .zshrc

Diff tool for chezmoi diff

~/.config/chezmoi/chezmoi.toml
[diff]
    command = "delta"
    pager = "delta"

Setup

  • Mac: Homebrew
  • Work Windows: In Powershell (not WSL): Scoop
  • WSL: not fully migrated yet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published