chezmoi
chezmoi_add(path)
¶
Start tracking a new file: copies it into the repo's chezmoi source dir.
Source code in src/personal_os_setup/tasks/system/chezmoi.py
chezmoi_apply(targets=None)
¶
Apply the selected dotfile(s) to the home directory without refreshing git-repo externals.
Source code in src/personal_os_setup/tasks/system/chezmoi.py
chezmoi_forget(targets)
¶
Stop tracking the given files: removes them from the repo's chezmoi source dir.
Leaves the live file on disk untouched -- only the repo's copy is removed.
Source code in src/personal_os_setup/tasks/system/chezmoi.py
chezmoi_managed_paths()
¶
List the destination paths chezmoi currently manages from this repo's source dir.
Includes regular files, scripts (e.g. run_onchange_*), and symlinks (symlink_*).
Returns an empty list if chezmoi isn't installed or the command fails, so callers (e.g. populating a UI selection list) can degrade gracefully instead of raising.
Source code in src/personal_os_setup/tasks/system/chezmoi.py
chezmoi_refresh_zsh_externals()
¶
Force-refresh oh-my-zsh, its custom plugins, and its theme from upstream.
https://www.chezmoi.io/user-guide/include-files-from-elsewhere/