Personal dotfiles with modern shell tooling, optimized for Laravel/PHP development. Features fast startup times, smart directory navigation, and modern CLI tools.
- Custom Agnoster Theme - Clean powerline prompt with no branch symbols,
•for changes - Version-Controlled Skills & Agents - All Claude Code skills and agents synced via dotfiles
- Fast Tools - fnm, zoxide, ripgrep, bat, eza (all Rust-based for speed)
- Nerd Fonts - Installed automatically via Brewfile for perfect icon support
- One Command Install -
bin/installsets up everything including Claude Code
git clone git@github.com:freekmurze/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
bin/install- Oh My Zsh - Framework for managing Zsh configuration (with agnoster theme by default)
- zoxide - Smart directory jumping based on frecency
- fzf - Fuzzy finder for files and history
- direnv - Automatic environment variables per directory
- fnm - Fast Node.js version manager
- bat - Cat with syntax highlighting
- eza - Modern ls replacement with icons
- ripgrep - Fast grep alternative
- fd - Fast find alternative
- git-delta - Better git diffs
- jq - JSON processor and formatter
- yq - YAML processor and formatter
- bottom - Modern system monitor
- PHP - Latest version via Homebrew
- Composer - Dependency manager via Homebrew
- Node.js - LTS version managed via fnm
- Laravel Valet - Local development server
- MySQL - Database with auto-start
Instant file previews in Finder: code files, markdown, JSON, CSV, patches, and archives.
The installation creates symlinks from your home directory to the dotfiles repository. This allows you to version control your configuration while keeping files in their expected locations.
| Symlink Location | Points To | Purpose |
|---|---|---|
~/.zshrc |
~/.dotfiles/home/.zshrc |
Main Zsh configuration (Oh My Zsh with custom agnoster theme) |
~/.gitconfig |
~/.dotfiles/home/.gitconfig |
Git configuration with delta diff viewer |
~/.global-gitignore |
~/.dotfiles/home/.global-gitignore |
Global Git ignore patterns |
~/.vimrc |
~/.dotfiles/home/.vimrc |
Vim configuration |
~/.vim/ |
~/.dotfiles/home/.vim/ |
Vim runtime files |
~/.mackup.cfg |
~/.dotfiles/macos/.mackup.cfg |
Mackup backup configuration |
~/.claude/skills |
~/.dotfiles/config/claude/skills/ |
All Claude Code skills (version-controlled) |
~/.claude/agents |
~/.dotfiles/config/claude/agents/ |
All Claude Code agents (version-controlled) |
~/.claude/CLAUDE.md |
~/.dotfiles/config/claude/CLAUDE.md |
Claude Code configuration |
~/.claude/laravel-php-guidelines.md |
~/.dotfiles/config/claude/laravel-php-guidelines.md |
Laravel coding standards |
~/.claude/settings.json |
~/.dotfiles/config/claude/settings.json |
Claude Code settings |
~/.config/zed/settings.json |
~/.dotfiles/config/zed/settings.json |
Zed editor settings |
~/.config/zed/keymap.json |
~/.dotfiles/config/zed/keymap.json |
Zed custom keybindings |
To manually symlink the Zed configuration (if not using bin/install):
mkdir -p ~/.config/zed
ln -sf ~/.dotfiles/config/zed/settings.json ~/.config/zed/settings.json
ln -sf ~/.dotfiles/config/zed/keymap.json ~/.config/zed/keymap.jsonThese files are loaded by .zshrc but remain in the dotfiles directory:
home/.aliases- Shell command aliaseshome/.functions- Custom shell functionshome/.exports- Environment variables
The default configuration uses a customized agnoster theme stored in oh-my-zsh-custom/themes/agnoster.zsh-theme:
Customizations:
- No git branch symbol (cleaner look)
- Uses
•for unstaged changes instead of± - Powerline arrows for segment separators
- Requires Nerd Font with powerline glyphs
Git Status Symbols:
✚- Staged changes (files added withgit add)•- Unstaged changes (modified files not yet staged)- Yellow background - Uncommitted changes
- Green background - Clean working directory
z dotfiles # Jump to frequently used directories
zi # Interactive directory picker
Ctrl+R # Fuzzy search command history
Ctrl+T # Fuzzy find files
Alt+C # Fuzzy change directorya # php artisan
p # Run Pest/PHPUnit tests
c # composer
mfs # php artisan migrate:fresh --seed
nah # git reset --hard; git clean -df# JSON processing with jq
curl api.github.com/users/freekmurze | jq
cat composer.json | jq '.require'
php artisan tinker --execute="echo json_encode(User::first());" | jq
# YAML processing with yq
yq '.jobs' .github/workflows/ci.yml
yq -o json docker-compose.yml
# System monitoring
btm # Modern system monitor (aliased from top/htop)bin/update # Update all packages and toolsfnm install --lts # Install latest LTS
fnm use lts-latest # Use latest LTS
fnm install 20 # Install specific version
fnm use 20 # Switch to specific version
fnm list # Show installed versionsbrew upgrade php # Update PHP to latest
brew upgrade composer # Update ComposerAll Homebrew packages are declared in config/Brewfile. To add a new tool:
echo 'brew "neovim"' >> ~/.dotfiles/config/Brewfile
brew bundle --file=~/.dotfiles/config/BrewfileComplete package list:
- Core: node, php, composer, pkg-config, wget, httpie, ncdu, hub, ack, doctl, 1password-cli, git-secret, imagemagick, mysql, yarn, ghostscript, mackup
- Modern CLI: zoxide, bat, eza, ripgrep, fd, git-delta, fnm, fzf, direnv, jq, yq, bottom, zsh-autosuggestions
- Fonts: font-meslo-lg-nerd-font (powerline icons and modern glyphs)
- QuickLook: qlcolorcode, qlstephen, qlmarkdown, quicklook-json, qlprettypatch, quicklook-csv, betterzip, suspicious-package
- PHP Extensions: imagick, memcached, xdebug, redis
- Global npm: agent-browser
- Global Composer: laravel/envoy, spatie/phpunit-watcher, laravel/valet
Install just Claude Code without the full dotfiles:
curl -fsSL https://raw.githubusercontent.com/freekmurze/dotfiles/main/bin/install-claude-code | bash- Claude Code CLI - Installed via Homebrew
- Custom configuration - CLAUDE.md with coding guidelines, laravel-php-guidelines.md
- Version-controlled skills - Entire
~/.claude/skillsdirectory symlinked to dotfiles - Version-controlled agents - Entire
~/.claude/agentsdirectory symlinked to dotfiles
All skills are stored in config/claude/skills/ and version-controlled with your dotfiles. When you run the installer on a new Mac, all skills are immediately available.
Custom Skills:
ray-skill- Ray debugging integrationfix-github-issue- GitHub issue automationconvert-issue-to-discussion- GitHub workflow helpers
Community Skills:
vercel-labs/agent-skills- Web design guidelines and React best practicesanthropics/skills- Frontend design and skill creation toolsvercel-labs/agent-browser- Browser automationexpo/skills- React Native with Expocallstackincubator/agent-skills- React Native performancecoreyhaines31/marketingskills- Copywriting and programmatic SEOcopy-editing- Marketing copy editingcopywriting- Marketing copywritingfrontend-design- Frontend design patternspdf- PDF manipulationseo-audit- SEO auditingweb-design-guidelines- Web design best practices
# Install a new skill (adds directly to your dotfiles)
npx skills add <owner/repo>
# Commit to version control
cd ~/.dotfiles
git add config/claude/skills/
git commit -m "Add new skill"
git pushBrowse more skills at skills.sh
All custom agents are stored in config/claude/agents/ and version-controlled with your dotfiles. When you run the installer on a new Mac, all agents are immediately available.
Custom Agents:
laravel-simplifier- Simplifies and refines PHP/Laravel code for clarity and maintainabilitylaravel-debugger- Diagnoses and fixes issues in Laravel applicationslaravel-feature-builder- Implements new features in Laravel applicationstask-planner- Breaks down complex tasks into actionable steps
Create custom configurations that won't be committed:
mkdir -p ~/.dotfiles-custom/shell
vim ~/.dotfiles-custom/shell/.aliasesThese files are automatically loaded by .zshrc if they exist.
Use direnv for automatic environment loading:
cd my-project
echo 'export DEBUG=true' > .envrc
direnv allowVariables load when you enter the directory and unload when you leave.
-
Configure iTerm2 font:
- Open iTerm2 Preferences (Cmd+,)
- Go to Profiles → Text
- Change Font to MesloLGM Nerd Font Mono (size 12-14)
- Enable "Use built-in Powerline glyphs"
-
Import theme: In iTerm2, import
config/iterm/Solarized Dark Corrected.itermcolors -
Restore settings (optional): Run
mackup restoreif you have backups -
Migrate history (upgrading only): Run
migration/migrate-z-to-zoxide.shif you have~/.z
| Old Tool | New Tool | Why Better |
|---|---|---|
| z.sh / autojump | zoxide | Smarter frecency algorithm, Rust speed |
| nvm | fnm | 40x faster, simpler, Rust-based |
| cat | bat | Syntax highlighting, git integration |
| ls | eza | Icons, tree view, git status |
| grep | ripgrep | 5-10x faster, respects .gitignore |
| find | fd | Simpler syntax, 10x faster |
| diff | delta | Side-by-side diffs, syntax highlighting |
| htop | bottom | Better UI, graphs, Rust-based |
The bin/ directory contains helper scripts:
- install - Main installation script (idempotent, safe to re-run)
- install-claude-code - Standalone Claude Code installer
- update - Update dotfiles, Homebrew, npm, and Composer packages
- doctor - Health check and diagnostic tool
If upgrading from an older setup:
- Directory history: Run
migration/migrate-z-to-zoxide.shto import your~/.zdata - Prompt: The default is now Oh My Zsh with custom agnoster theme
- Version managers:
- fnm replaces nvm for Node.js
- Homebrew manages PHP/Composer (no more compilation or mise)
- Fonts: Meslo Nerd Font replaces Menlo Powerline (installed via Brewfile)
- Claude Code Skills: Now version-controlled in
config/claude/skills/and symlinked to~/.claude/skills - Claude Code Agents: Now version-controlled in
config/claude/agents/and symlinked to~/.claude/agents - Custom Theme: Custom agnoster theme stored in
oh-my-zsh-custom/themes/
Created by Freek Van der Herten. Used by many at Spatie.
See config/Brewfile for complete package list.
