Repository navigation
Closed
Description
git-wt switch --create fuzzy-matching
✓ Created branch fuzzy-matching from main and worktree @ 'C:/Users/f.minutoli/Desktop/WS/atenareply/tokenprice.fuzzy-matching'
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
git-wt config shell install
❯ Install shell integration? [y/N/?] y
✓ Added shell extension for powershell @ ~/Documents/PowerShell/Microsoft.PowerShell_profile.ps1
↳ Skipped bash; ~/.bashrc not found
↳ Skipped zsh; ~/.zshrc not found
↳ Skipped fish; ~/.config/fish/functions not found
✓ Configured 1 shell
git-wt config show
USER CONFIG ~/AppData/Roaming/worktrunk/config.toml
↳ Not found; to create one, run wt config create
PROJECT CONFIG 'C:/Users/f.minutoli/Desktop/WS/atenareply/tokenprice/.config/wt.toml'
↳ Not found
SHELL INTEGRATION
▲ Shell integration not active
Invoked as:
C:\Users\f.minutoli\AppData\Local\Microsoft\WinGet\Packages\max-sixty.worktrunk_Microsoft.Winget.Source_8wekyb3d8bbwe\git-wt.exe
○ powershell: Already configured shell extension & completions @ ~/Documents/PowerShell/Microsoft.PowerShell_profile.ps1:2
if (Get-Command git-wt -ErrorAction SilentlyContinue) { Invoke-Expression (& git-wt config shell init powershell) }
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
CLAUDE CODE
○ claude CLI not installed
OTHER
○ git-wt: v0.20.1
○ git: 2.52.0.windows.1
○ Hyperlinks: active
cat ~/Documents/PowerShell/Microsoft.PowerShell_profile.ps1
if (Get-Command git-wt -ErrorAction SilentlyContinue) { Invoke-Expression (& git-wt config shell init powershell) }
git-wt switch fuzzy-matching
▲ Worktree for fuzzy-matching @ 'C:/Users/f.minutoli/Desktop/WS/Atena Reply/tokenprice.fuzzy-matching', but cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
Metadata
Metadata
Assignees
Labels
No labels
Activity
max-sixty commentedon Jan 27, 2026
(looking into this; it may be Powershell versions, either try running the below or will release something to
wt config showso we get this for free)
DiTo97 commentedon Jan 27, 2026
$PSVersionTable.PSVersion$PROFILEfix(shell): add `| Out-String` to PowerShell config_line (#885)
feat: warn about outdated PowerShell config missing | Out-String
fix(shell): add `| Out-String` to PowerShell config_line (#888)
max-sixty commentedon Jan 28, 2026
I think it's fixed; check out 0.20.2 and see whether that works; will require a
wt config shell installand a shell restart; let me knowthank you for the issue!
micheltol commentedon Jan 28, 2026
Hi @max-sixty ,
for me the version 0.20.2 hasn't resolved this issue yet .
If you need more info please let me know :)
max-sixty commentedon Jan 28, 2026
(claude created a couple of comments without my permission, which I deleted, apologies)
Refactor PowerShell environment detection for auto-config
fix(shell): auto-detect PowerShell on Windows via SHELL absence
fix(shell): auto-configure PowerShell on Windows when SHELL is not set (
max-sixty commentedon Jan 29, 2026
I think the issue is that the file wasn't created. would you mind trying with 0.20.3?
(60% chance to work! appreciate your patience)
20 remaining items
max-sixty commentedon Feb 12, 2026
(sorry that
claudekeeps marking the PRs as closing this issue, will fix)Thanks @DiTo97. so it seems there is a powershell function... could you run a couple more diagnostics in the same PowerShell session?
Check if the wrapper sets the right env var:
Check what binary the wrapper resolves to:
Run
git-wt switchthrough the wrapper and check if the directive file was set:Alternatively, if you have
claudeinstalled, you can install the worktrunk plugin and ask it to help debug:DiTo97 commentedon Feb 15, 2026
Hi @max-sixty, I'm testing v0.24.0.
git-wt config showstill prints some warnings:yet worktree creation seems to be working. I will share the full log. Despite that, I'm getting some git warnings.
max-sixty commentedon Feb 16, 2026
I think that's a repo with no commits, which we should handle much better; I'll make the fix.
But it looks like the powershell integration is working? great if so!
fix(list): handle empty repos (no commits) gracefully
fix(shell): PowerShell wrapper swallows -D flag as -Debug (#885)
fix(shell): PowerShell wrapper swallows -D flag as -Debug (#1057)
fix(list): handle empty repos (no commits) gracefully (max-sixty#1058)
fix(shell): PowerShell wrapper swallows -D flag as -Debug (#1057)
fix(list): handle empty repos (no commits) gracefully (#1058)
feat(switch): add AI summary preview tab (#1049)
feat(switch): add AI summary preview tab (max-sixty#1049)
feat: add system-wide config file support (#963)
fix(config): iterate PowerShell uniformly with other shells (#2581)