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 ~/.themes
chezmoi apply
On Windows Subsystem for Linux you 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 ~/.themes
chezmoi apply
It is highly recommended that you enable the "Turn off all unnecessary animations (when possible)" option in "Control Panel > Ease of Access > Ease of Access Centre / Make the computer easier to see" for the best performance with komorebi.
In an administrator shell:
# Enable developer mode
Set-ItemProperty -Path "Registry::HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx"`
-Name "AllowDevelopmentWithoutDevLicense"`
-Type "DWord"`
-Value "1"
# Enable support for long windows paths
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem'`
-Name 'LongPathsEnabled'`
-Value 1
# Set the execution policy
Set-ExecutionPolicy remotesigned
# Temporarily add the user's bin directory to the path for the password manager
$Env:PATH += ";$Env:USERPROFILE\.local\bin"
# Trust the PSGallery repository
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
# Initialise chezmoi
chezmoi init SVendittelli
chezmoi apply ~/.local/bin/dcli.exe
dcli sync
chezmoi apply ~/.keys ~/.themes
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:
just clear-run-on-change-state
To clear the state of run_once_
scripts, run:
just clear-run-once-state