Chezmoi concepts#
chezmoi misc#
Version
chezmoi --version chezmoi version 1.7.19, commit c4dd79633ab5d7263146128847f2b429f0603c55, built at 2020-04-06T21:58:02Z, built by goreleaser
Upgrade
chezmoi upgradeCompletion script
chezmoi completion bash > ~/chezmoi-completion.bash sudo mv ~/chezmoi-completion.bash /etc/bash_compltion.d/
chezmoi terminology#
chezmoi’s concepts -
twpayne/chezmoi
source state - declares the desired state of
$HOME, including templates and machine-specific configuration.source directory is where
chezmoistores the source state, by default$HOME/.local/share/chezmoiCan be queried via
chezmoi source-pathtarget state is the source state computed for the current machine.
destination directory is the directory that
chezmoimanages, by default$HOME.destination state is the state of all the targets in the destination directory.
where targets = file, directory or symlink in destination directory
machine-specific configuration is present in a config file at
$HOME/.config/chezmoi/chezmoi.toml