Dotfiles managed with Chezmoi.
- Shell: zsh (
.zshenv,.zshrc) - Git:
.gitconfig - Tmux:
.tmux.conf,~/.config/tmux/(config, theme; TPM plugins via external) - Oh My Posh:
~/.config/ohmyposh/posh.toml
One-liner (curl):
sh -c "$(curl -fsLS get.chezmoi.io)"Package manager (examples):
# Fedora / RHEL
sudo dnf install chezmoi
# Arch
sudo pacman -S chezmoiClone the repo and apply with Chezmoi:
chezmoi init https://github.com/kmmenna/dotfiles.git
chezmoi applyOr, if you already have the repo cloned:
chezmoi init /path/to/dotfiles
chezmoi applyTo see what would change without applying:
chezmoi diff- TPM (Tmux Plugin Manager) is fetched by Chezmoi from GitHub (see
.chezmoiexternal.toml). After the first apply, runprefix + Iin tmux to install plugins.
- Edit a managed file:
chezmoi edit ~/.zshrc - Add a new file:
chezmoi add ~/.path/to/file - Preview changes:
chezmoi diff - Apply changes:
chezmoi apply - Pull and apply updates:
chezmoi update