# dotfiles-dylan **Repository Path**: mirrors_DylanVann/dotfiles-dylan ## Basic Information - **Project Name**: dotfiles-dylan - **Description**: 📠 Terminally ill. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Dylan's Dotfiles 📠 Terminally ill. ```sh git clone https://github.com/DylanVann/dotfiles-dylan ~/Developer/dotfiles-dylan ~/Developer/dotfiles-dylan/install.sh ``` - `config/` is symlinked into `~/.config` (one folder per app; Zed keeps other state in its folder, so only its files are linked). - `home/` is symlinked into `~` (dotfiles). - `scripts/macos-settings.sh` applies the `defaults` settings (keyboard, Finder, Fork); `scripts/tinycast-settings.sh` sets the Tinycast hotkeys (launcher on cmd+space, taken from Spotlight; window snapping on ctrl+opt+cmd); `scripts/remap-caps-lock-to-escape.sh` installs a login agent for the Caps Lock remap. All are run by hand. - `Brewfile` is installed with `brew bundle`. `install.sh` makes the symlinks, installs Homebrew if it's missing, installs the `Brewfile` and makes fish the login shell (asking for your password for `/etc/shells` and `chsh`). It is safe to rerun: links that already point into the repo are left alone, and anything else in the way (a config folder an app created, an old dotfile) is moved to `~/.local/state/dotfiles/backups//` before the link is made. `--dry-run` prints the plan without changing anything, `--skip-brew` skips Homebrew and the Brewfile, and `--target DIR` installs somewhere other than `~` for testing. `scripts/macos-settings.sh` exports each `defaults` domain it touches to the same backups folder before writing. The GitHub Actions workflow runs the installer twice on a macOS runner, checks the shell and fish syntax, and validates the Ghostty config. `AGENTS.md` has the same checks and the repo conventions for AI agents. App switching is [rcmd](https://lowtechguys.com/rcmd) (right cmd + a letter), installed from its Homebrew cask, not the App Store build, which its docs say to migrate off. It keeps its own settings. ## On a new Mac 1. Run `git clone` as above; macOS offers to install the Command Line Tools (which include git) the first time. Then run `install.sh`. 2. Give Git an identity in `~/.gitconfig.local`, which `home/.gitconfig` includes but the repo doesn't track: ```ini [user] name = Your Name email = you@example.com ``` Use an email that's verified on your GitHub account, or GitHub won't link the commits to you. 3. Run `gh auth login`; Git uses `gh` for GitHub credentials. 4. Open rcmd, Homerow and Tinycast once each and grant them Accessibility access when asked. 5. Run whichever of the `scripts/` you want; log out and back in after `macos-settings.sh` so the key repeat rate applies everywhere. 6. Optionally, sign commits (below). ### Signing commits `gh` only logs Git in to GitHub; it doesn't sign anything. Git signs commits itself with a GPG or SSH key, and GitHub shows them as Verified once the public key is on your account. An SSH key is the simpler of the two: ```sh # Make a key if ~/.ssh/id_ed25519 doesn't exist (no passphrase, so signing # never prompts) ssh-keygen -t ed25519 -N '' -C you@example.com -f ~/.ssh/id_ed25519 # Let gh upload signing keys, then upload this one gh auth refresh -h github.com -s admin:ssh_signing_key gh ssh-key add ~/.ssh/id_ed25519.pub --type signing --title "$(scutil --get ComputerName)" # Trust the key locally too, so `git log --show-signature` can check it echo "you@example.com $(cat ~/.ssh/id_ed25519.pub)" >> ~/.ssh/allowed_signers ``` Then add to `~/.gitconfig.local`: ```ini [user] signingkey = ~/.ssh/id_ed25519.pub [gpg] format = ssh [gpg "ssh"] allowedSignersFile = ~/.ssh/allowed_signers [commit] gpgsign = true ``` After a commit, `git log --show-signature -1` should print `Good "git" signature`, and pushed commits show Verified on GitHub.