3
Watch
18
Star
0
Fork
2
Issue

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

mkasberg
mkasberg
pushedAt 1 week ago

mkasberg/dotfiles

Mike Kasberg's Dotfiles

Managed with chezmoi ❤️

Setup dotfiles on a new machine

  1. (Optional) Install Bitwarden and login if you plan to install secrets.

    sudo snap install bw
    bw login
    
  2. Install chezmoi to ~/bin and install dotfiles to ~/dotfiles.

    sh -c "$(curl -fsLS git.io/chezmoi)" -- -b "$HOME/bin" init --apply -S ~/dotfiles mkasberg
    

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 dev container in Docker is great for this because it comes with a non-root user.

docker run --rm -it --user vscode --workdir /home/vscode mcr.microsoft.com/vscode/devcontainers/base:0-hirsute

Security

Did you find a vulnerability in my dotfiles? An exposed secret? Some other security issue? Please report vulnerabilities via email to [email protected] or [email protected].

ucloud ads