Skip to content

fabitosh/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Using chezmoi to share configuration files across multiple systems.

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

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published