Skip to content

Add Windows configuration under windows/#3

Open
kriswill wants to merge 6 commits intomainfrom
windows
Open

Add Windows configuration under windows/#3
kriswill wants to merge 6 commits intomainfrom
windows

Conversation

@kriswill
Copy link
Copy Markdown
Owner

Summary

  • New windows/ subtree capturing the PowerShell profile, Windows Terminal settings, git config, and scoop/winget app exports.
  • windows/setup.ps1 symlinks each config into its live location with timestamped backups; also links config/nvim so shared cross-platform configs are reusable from Windows.
  • Personal PowerShell commands packaged as a KrisTools module (windows/powershell/Modules/KrisTools) instead of a loose bin/ directory — leverages module auto-discovery, approved verbs, Get-Help, and in-process invocation.
  • First command: Show-DisplayInfo (alias display-info).
  • gh added to the scoop import so fresh machines get GitHub CLI via setup.ps1 -InstallApps.
  • Docs: windows/README.md and windows/nerdfont-setup.md.

Test plan

  • setup.ps1 runs cleanly from an elevated Windows PowerShell 5.1 on Win11; creates symlinks with backups.
  • Editing the symlinked settings.json / .gitconfig / profile surfaces as repo diffs.
  • Import-Module KrisTools in a fresh pwsh session exposes Show-DisplayInfo + display-info alias.
  • display-info renders the GPU/monitor report end-to-end.
  • Verify on a second Windows machine (fresh clone bootstrap).

🤖 Generated with Claude Code

kriswill and others added 6 commits April 12, 2026 17:25
Copies current PowerShell profile, Windows Terminal settings, git config,
scoop/winget app exports into windows/ subtree. setup.ps1 symlinks them
into place with timestamped backups; also links shared config/nvim.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Confirmed working from admin Windows PowerShell 5.1 on Win11; note both
Developer Mode and elevation as valid routes, and show the 5.1 invocation
for pre-pwsh machines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move existing NerdFonts install walkthrough into windows/ and link it
from the README. Covers the pwsh-7 requirement, JetBrainsMono install
via the NerdFonts PSGallery module, and Windows Terminal font/default
profile wiring.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Package personal commands as a PowerShell module rather than a loose
bin/ on PATH — uses module auto-discovery, approved verbs, Get-Help,
tab completion, and in-process invocation.

- powershell/Modules/KrisTools/{.psd1,.psm1}: manifest + auto-loader
  that dot-sources everything under Public/ and exports functions
  and aliases.
- Public/Show-DisplayInfo.ps1: display-info.ps1 wrapped as a function
  with a `display-info` alias for short-form invocation.
- setup.ps1: symlink each module dir under powershell/Modules into the
  user's Documents\PowerShell\Modules (and 5.1/OneDrive variants).
- profile: Import-Module KrisTools so commands are live in every
  session.
- README: document the module pattern and how to add new commands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Needed for `gh pr create` and other GitHub CLI workflows. Re-exporting
scoop/apps.json means every machine bootstrapped with
`setup.ps1 -InstallApps` gets gh alongside lazygit and pwsh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant