Summary
The PowerShell script installation has inconsistent paths between manual install instructions and the actual --install-shells command, causing the auto-reload feature to fail.
Problem
Two different paths in use:
- Manual install (README):
~/Documents/PowerShell/copilot_here.ps1
--install-shells command: ~/.copilot_here.ps1
- Reload logic checks:
~/.copilot_here.ps1
Result: When following manual install instructions from the README, the auto-reload feature doesn't work because:
- User downloads script to
~/Documents/PowerShell/copilot_here.ps1
- User sources the profile which loads the script
- Script's reload logic checks
~/.copilot_here.ps1 (different file!)
- Even after downloading new version, old functions stay in memory
Expected Behavior
- Single canonical location:
~/.copilot_here.ps1
- Consistent across all installation methods
- Auto-reload works after downloading new version
- Matches bash/zsh pattern (
~/.copilot_here.sh)
Acceptance Criteria
Files to Update
Repository (Done)
Website (mount: ../copilot_here-site/)
Blog (mount: ../xylem/data/blog/)
Search Commands
# Website
cd ../copilot_here-site
grep -r "Documents.*PowerShell.*copilot" .
# Blog
cd ../xylem/data/blog
grep -r "Documents.*PowerShell.*copilot" .
Benefits
- Single source of truth
- Reload feature works consistently
- Simpler for users (root directory, not nested in Documents)
- Consistent with Unix approach
Summary
The PowerShell script installation has inconsistent paths between manual install instructions and the actual
--install-shellscommand, causing the auto-reload feature to fail.Problem
Two different paths in use:
~/Documents/PowerShell/copilot_here.ps1--install-shellscommand:~/.copilot_here.ps1~/.copilot_here.ps1Result: When following manual install instructions from the README, the auto-reload feature doesn't work because:
~/Documents/PowerShell/copilot_here.ps1~/.copilot_here.ps1(different file!)Expected Behavior
~/.copilot_here.ps1~/.copilot_here.sh)Acceptance Criteria
~/.copilot_here.ps1--install-shellsuses~/.copilot_here.ps1(already does)~/.copilot_here.ps1(already does)Files to Update
Repository (Done)
Website (mount:
../copilot_here-site/)Blog (mount:
../xylem/data/blog/)Search Commands
Benefits