Skip to content
StevenJVPublic

About

config files and scripts

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

84 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tools

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.

macOS

  1. .zshrc: zsh setup with Homebrew, oh-my-zsh (crunch theme), .NET, git aliases, and the load-test and integration-test environment variables. API keys are redacted placeholders, so set your own
  2. iTerm2 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 Code

  1. .claude/CLAUDE.md: working instructions for Claude (tone, response length, subagent use, code style, commit format)
  2. .claude/ai-slop.md: running list of patterns that make writing read as AI-generated
  3. .claude/Skills/: run-unit-tests, run-service-tests, and run-integration-tests skills
  4. ClaudeConfig-setup.sh: symlinks ~/.claude/CLAUDE.md to the copy in this repo, so there is one file to maintain. Run it once per machine after cloning

Windows

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.

  1. Microsoft.PowerShell_profile.ps1: aliases and repo path for PowerShell
  2. posh-git.profile.ps1.ps1: loads posh-git and starts the SSH agent
  3. WindowsTerminal_settings.json: Windows Terminal profiles
  4. ubuntu_dotprofile: default Ubuntu .profile (for WSL)

Scripts

Git

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

Files and search

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

Network

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

Cross-platform

  1. .gitconfig: git user, aliases, and line-ending settings
  2. config.omp.json, stevenjv.omp.json, rudolfs-customized.omp.json, .mytheme.omp.json: Oh My Posh prompt themes
  3. vscode/: settings.json, VSCode_settings.json, keybindings.json, and mcp.json (MCP server config, with secrets stripped)

License

Apache 2.0. See LICENSE. Code from other authors keeps its original attribution in the file headers.

About

config files and scripts

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages