Skip to content

mkasberg/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mike Kasberg's Dotfiles

Managed with chezmoi ❤️

Principles

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 😁.

Setup dotfiles on a new machine

  1. Install Chezmoi to ~/bin and install dotfiles to ~/dotfiles.

    sh -c "$(curl -fsLS git.io/chezmoi)" -- -b "$HOME/bin" init --apply -S ~/dotfiles mkasberg
    
  2. (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

Notable Features

Start Your Own Dotfiles

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!

Testing

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.

Security

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.

About

🛠️ Mike's dotfiles. Managed with https://www.chezmoi.io/

Topics

Resources

License

Stars

Watchers

Forks