Skip to main content

chezmoi

brew install chezmoi

# 使用现有仓库初始化
chezmoi init --source [email protected]:wenerme/dotfiles.git
chezmoi apply --dry-run --verbose
chezmoi apply

# 直接初始化
chezmoi init # ~/.local/share/chezmoi

# ~/.local/share/chezmoi/dot_bashrc
chezmoi add ~/.bashrc

chezmoi managed # 查看管理的文件
chezmoi status # 查看状态
chezmoi re-add # 重新添加 - 添加修改后的配置
chezmoi cd # cd ~/.local/share/chezmoi