Managed with chezmoi ❤️
Inspired by The Primeagen:
- Try not to stray from defaults. Hopefully, all the non-defaults in my dotfiles have a good reason for being there.
- Make the experience better. Don't just save a keystroke with an alias where [TAB] would suffice. Build real functionality.
I'm still working on "never search with your eyes", but I'm headed that way 😁.
-
Install Chezmoi to
~/binand install dotfiles to~/dotfiles.sh -c "$(curl -fsLS git.io/chezmoi)" -- -b "$HOME/bin" init --apply -S ~/dotfiles mkasberg -
(Optional) Install secrets. (The kasm-secrets script is installed with dotfiles.)
kasm-secrets install
Done! To keep up to date in the future:
chezmoi update
Want to check the diff before applying changes?
chezmoi <update|apply> -nv
- Cross-platform (macOS & Linux)
- Scripts to install system and user applications and preferences
- Custom PS1 Bash Prompt
- Custom Oh My Zsh Theme
- Set the default shell to zsh on Ubuntu
- Per-machine git email, set once during setup
- Optionally (per machine) install secrets from Bitwarden
- Install script for VS Code Remote Containers Dotfiles
- Vim filetypes for chezmoi
Want to use Chezmoi to manage your own dotfiles? The best way to get started is
to follow the Chezmoi Quick Start
Guide to start tracking your first
dotfile (~/.bashrc, ~/.zshrc, or ~/.gitconfig are great files to start
with). Beyond that, I hope you can find some inspiration by looking at my
dotfiles and copying things you like!
Want to test a fresh install on a new machine? A Docker container with a
non-root user is great for this. For convenience, ./test.sh will install
dotfiles from the current working directory and drop you into a prompt in a
clean, disposable Docker environment.
Did you find a vulnerability in my dotfiles? An exposed secret? Some other security issue? Please report vulnerabilities via email to kasberg.mike@gmail.com or mike@mikekasberg.com.