Skip to content

Mai0313/dotfiles

Repository files navigation

Dotfiles

Managed with chezmoi.

Quick Start

One-liner to set up a new machine:

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply https://github.com/mai0313/dotfiles.git

GitHub Codespaces

  1. Go to GitHub Settings > Codespaces
  2. Set Dotfiles repository to mai0313/dotfiles
  3. Check Automatically install dotfiles

New codespaces will be configured automatically.

Environment Detection

The config template automatically detects the environment:

Environment Detection is_work is_codespace
Cloudtop *.c.googlers.com true false
GitHub Codespaces CODESPACES=true false true
Personal default false false

Daily Usage

chezmoi diff          # Check what changed between local and source
chezmoi apply         # Apply source state to local files
chezmoi re-add        # Sync local changes back to source directory
chezmoi add ~/.file   # Start managing a new file
chezmoi update        # Pull from remote + apply (for other machines)

First-time setup on a new machine

After chezmoi apply deploys the dotfiles, run the setup scripts manually:

~/setup.sh          # Install zsh, oh-my-zsh, powerlevel10k, fonts
~/setup_adb.sh      # (Cloudtop only) Clone ADB vendor keys

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors