Personal dev-environment repo: shell and terminal config, prompt themes, VS Code settings, Claude Code setup, and a pile of PowerShell scripts. Probably not much use to others, but feel free to borrow.
It started as a Windows PowerShell repo and now covers macOS too. The sections below are ordered by what I use most: macOS, then Claude Code, then Windows.
.zshrc: zsh setup with Homebrew, oh-my-zsh (crunchtheme), .NET, git aliases, and the load-test and integration-test environment variables. API keys are redacted placeholders, so set your owniTerm2 Profile settings.json: iTerm2 profile
Tools this setup assumes: Homebrew (Apple Silicon paths under /opt/homebrew), oh-my-zsh, the .NET SDK, geckodriver, and Apache JMeter for the load tests.
.claude/CLAUDE.md: working instructions for Claude (tone, response length, subagent use, code style, commit format).claude/ai-slop.md: running list of patterns that make writing read as AI-generated.claude/Skills/:run-unit-tests,run-service-tests, andrun-integration-testsskillsClaudeConfig-setup.sh: symlinks~/.claude/CLAUDE.mdto the copy in this repo, so there is one file to maintain. Run it once per machine after cloning
The PowerShell scripts and profile are Windows-specific. Most scripts are aliased to shell shortcuts in Microsoft.PowerShell_profile.ps1, which assumes the repo lives at ~\source\repos\ps\. Adjust those paths if you clone it elsewhere.
Microsoft.PowerShell_profile.ps1: aliases and repo path for PowerShellposh-git.profile.ps1.ps1: loads posh-git and starts the SSH agentWindowsTerminal_settings.json: Windows Terminal profilesubuntu_dotprofile: default Ubuntu.profile(for WSL)
| Script | What it does |
|---|---|
branches.ps1 |
Local branches by last commit date, with author |
remotebranches.ps1 |
Same for remote branches, skipping any named BACKUP |
cleanBranches.ps1 |
Force-deletes local branches with no remote counterpart (skips master). Destructive, read it first |
| Script | What it does |
|---|---|
Grep.ps1 |
Recursive Select-String, skipping binaries (.exe, .dll, .nupkg, .dtsx, .pdb) |
findfile.ps1 |
Recursive file search by name or wildcard |
dirdate.ps1 |
Lists files sorted by creation date |
whylocked.ps1 |
Shows which process holds a file or folder open (needs openfiles) |
Get-HexDump.ps1 |
Hex dump of a file. Written by Bill Stewart |
Convert-TextObject.ps1 |
Turns delimited text into an object. From the Windows PowerShell Cookbook by Lee Holmes |
| Script | What it does |
|---|---|
VPNConnect.ps1 |
Connects a VPN with rasdial, using credentials from the SecureTokens module |
mapdrives.ps1 |
Maps persistent network drives (L, M, N, P, R, T) |
netuse2ps.ps1 |
Converts net use output to CSV |
.gitconfig: git user, aliases, and line-ending settingsconfig.omp.json,stevenjv.omp.json,rudolfs-customized.omp.json,.mytheme.omp.json: Oh My Posh prompt themesvscode/:settings.json,VSCode_settings.json,keybindings.json, andmcp.json(MCP server config, with secrets stripped)
Apache 2.0. See LICENSE. Code from other authors keeps its original attribution in the file headers.