Skip to content

1334/dotfiles

Repository files navigation

Dotfiles

Personal dotfiles managed with yadm.

Setup on a new machine

brew install yadm
yadm clone git@github.com:1334/dotfiles.git

What's included

  • Shell: zsh config
  • Git: gitconfig, global gitignore
  • Neovim: full config (kickstart.nvim based)
  • Editors: vim, ideavim, vscode settings
  • Tools: asdf/mise, editorconfig, prettier, karabiner
  • Scripts: ~/bin utilities

Usage

yadm is a thin wrapper around git — all git commands work as expected, just replace git with yadm:

yadm status                     # check what's changed
yadm add ~/.config/nvim/init.lua  # stage a file
yadm commit -m "update nvim config"
yadm push

Common tasks

yadm list                       # list all tracked files
yadm diff                       # see unstaged changes
yadm add -u && yadm commit      # stage all modified tracked files and commit
yadm stash                      # stash changes (works like git stash)

Adding new dotfiles

yadm add -f ~/.some-new-config  # -f required (global gitignore is set to *)
yadm commit -m "add some-new-config"
yadm push

The -f flag is needed because yadm is configured to ignore all untracked files by default (via ~/.config/yadm/gitignore), keeping yadm status clean.

How it works

  • yadm uses $HOME as the worktree and keeps its git repo at ~/.local/share/yadm/repo.git
  • Files live at their real paths — no symlinks, no renaming
  • A sparse-checkout excludes README.md from ~/ so it only appears on GitHub
  • ~/.config/yadm/gitignore is set to * so only explicitly added files show in yadm status

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors