My dot files for zsh, vim, tmux, etc.
Managed using chezmoi.
Install chezmoi
using the correct package manager.
export PATH="$HOME/.local/bin/:$PATH"
chezmoi init SVendittelli
chezmoi apply ~/.local/bin/dcli
dcli sync
chezmoi apply ~/.keys
chezmoi apply
On Windows Subsystem for Linux ypu may additionally need to run these commands:
rustup default stable
Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install chezmoi
and initialise:
brew install chezmoi
chezmoi init SVendittelli
chezmoi apply ~/.local/bin/dcli
dcli sync
chezmoi apply ~/.keys
chezmoi apply
In an administrator shell:
rundll32 sysdm.cpl,EditEnvironmentVariables
Set the following user environment variable:
KOMOREBI_CONFIG_HOME = "%USERPROFILE%\.config\komorebi"
Back in the administrator shell:
Set-ExecutionPolicy remotesigned
$Env:PATH += ";$Env:USERPROFILE\.local\bin"
Set-PSResourceRepository -Name PSGallery -Trusted
chezmoi init SVendittelli
chezmoi apply ~/.local/bin/dcli.exe
dcli sync
chezmoi apply ~/.keys
chezmoi apply
Run git hooks on commit and push using pre-commit:
chezmoi cd
pre-commit install
exit
chezmoi
stores whether and when run_onchange_
and run_once_` scripts have been run in its persistent state.
To clear the state of run_onchange_
scripts, run:
chezmoi state delete-bucket --bucket=entryState
To clear the state of run_once_
scripts, run:
chezmoi state delete-bucket --bucket=scriptState