Migrating from the old dotfiles? run the following command to clean things up before you install:
rm -rf ~/.znap ~/.asdf ~/.dotfilesMake sure to backup your~/.ssh/configfile as we're now managing that as part of this repo.
In order to avoid any issues with rate limiting on the GH API, I recommend adding a personal access token to your shell env. You can do this by setting one of these env variables:
CHEZMOI_GITHUB_ACCESS_TOKENGITHUB_ACCESS_TOKENGITHUB_TOKEN
Note: I recommend using GITHUB_TOKEN as this is most compatible with other tools.
We're installing it to the
~/.local/bindirectory to accomodate as many Unix-style OSs as possible.
I recommend forking the repo into your own dotfiles repo and then using the below command to install chezmoi, clone the repo and apply it in one step.
Note: this one-liner assumes it is cloning a repo called
dotfilesfrom the user$GITHUB_USERNAME, make sure that's what you call your fork. Otherwise, please check thechezmoidocs for how to specify a different repo name.
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --apply $GITHUB_USERNAME# Update the destination directory to match the target state
chezmoi apply
# Update the destination directory and refresh external files manually
chezmoi apply -R
# Update the destination directory and refresh the init files `promptStringOnce`, etc.
chezmoi apply --init
# Print the diff between the target state and the destination state
chezmoi diff
# Pull and apply any changes
chezmoi update
# Upgrade chezmoi to the latest released version
chezmoi upgrade
# Launch a shell in the source directory
chezmoi cd- zsh: shell of choice.
- zellij: tmux but modern, faster and with a more promising future.
- chezmoi: used to manage these dotfiles and apply updates.
- mise: install and manage multiple devtools versions (think
nvm, but good and for almost all tools). - alacritty: terminal emulator of choice.
- krew: kubectl plugins manager.
- k9s: kubectl TUI.
- bat: cat but modern.
- eza: ls clone, but modern, with colors and with icons.
- helix: nvim but simple and rust-based.
- Hanlde Windows installs?
- Krew
- Starship
Some of these files were directly inspired by budimanjojo's dotfiles
