Xdebug 3 on demand: debug sessions only when you ask for one
Setting up Xdebug 3 with triggers for the browser, CLI and API clients, in Docker, with PhpStorm and VS Code.
9 minutes
php
configuration
Dotfiles part 5: per-machine git identity
A shared gitconfig includes ~/.gitconfig.local, so each machine sets its own email and signing key.
1 minute
configuration
Dotfiles part 4: halving zsh startup time
Swapping nvm for fnm and lazy-loading thefuck cut a new shell from about 1.5s to 0.8s.
1 minute
configuration
Dotfiles part 3: an idempotent install script
bin/install sets up a new Mac in six steps and does nothing harmful when run again.
3 minutes
configuration
Dotfiles part 2: loading machine profiles in zsh
One file names the active profile. The load order matters because oh-my-zsh reads its plugins array once.
2 minutes
configuration
Dotfiles part 1: a public core with private machine profiles
My dotfiles split into a public repo for shared shell config and one private repo per machine.
2 minutes
configuration