Skip to content

PowerShell shell integration is not working #885

@DiTo97

Description

@DiTo97

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions