Skip to content

Windows: wt naming conflict #133

Closed
Closed

Description

@ctolkien

wt already exists on Windows platforms for "Windows Terminal".

May need to consider adding an alias on these platforms.

Ref #121

Activity

  1. ctolkien commented on Dec 10, 2025

    @ctolkien
    Author

    I would suggest just going with worktrunk and then users can add their own should they wish to.

  2. max-sixty commented on Dec 11, 2025

    @max-sixty
    Owner

    eeek, that is unfortunate. I did a scan for tools at first but didn't catch this.

    let me reflect. I did like wt. I think having something standard that's short is an advantage vs. aliases, so examples look good / sharing commands can share a command that works, etc

  3. max-sixty commented on Dec 11, 2025

    @max-sixty
    Owner

    one option would be git-wt and then git wt switch works...

  4. shanselman commented on Dec 31, 2025

    @shanselman

    ya I just hit this as well, worktrunk (wt) is now installed itself ahead of windows terminal in the path :(. I'm aliasing worktree -> git-wt

  5. max-sixty commented on Dec 31, 2025

    @max-sixty
    Owner

    @shanselman & @ctolkien (& any other windows users)

    what do you think would be a better approach, without abandoning wt totally?

    how do most folks install things on Windows? should we have the winget install default to git-wt? add an alias like wt_ / wot?

    I admittedly hardly use Windows, but keen for Worktrunk to be helpful to Windows users, as well as good citizen in the ecosystem...

  6. NikiforovAll commented on Jan 1, 2026

    @NikiforovAll

    Hi there, also impacts me. I think worktrunk is a good default name.

    People can create aliases for better ergonomics depending on how they want to use worktrunk. I ended up with https://github.com/NikiforovAll/dotfiles2/blob/main/dot_bashrc#L114-L124

  7. ctolkien commented on Jan 11, 2026

    @ctolkien
    Author

    @shanselman & @ctolkien (& any other windows users)

    what do you think would be a better approach, without abandoning wt totally?

    Honestly, the "Windows" way (or more specifically, the Powershell way, which I'd wager is what most Windows users are using for a shell), is to not abbreviate by default, but introduce an alias should you wish to.

  8. max-sixty commented on Jan 11, 2026

    @max-sixty
    Owner

    so this issue has the latest: git-wt is now installed by default in the WinGet package

  9. ctolkien commented on Jan 12, 2026

    @ctolkien
    Author

    so this issue has the latest: git-wt is now installed by default in the WinGet package

    git-wt it is then?

  10. shanselman commented on Jan 15, 2026

    @shanselman

    yes, but also note in the Readme or docs that windows users can just turn off App Execution Aliases if they really want WT to be WorkTrunk

    Image

  11. added a commit that references this issue on Jan 15, 2026
    fed4936
  12. max-sixty commented on Jan 15, 2026

    @max-sixty
    Owner

    thanks a lot @shanselman . I'll add this.

    I think we're somewhat settled on wt being the main name, but still open-minded for how to handle the Windows conflict.

    Two options for windows users, will take feedback:

    • wt with the user-initiated opt-out for Windows Terminal, otherwise git-wt
    • wt with the user-initiated opt-out for Windows Terminal, otherwise something shorter: wwt / gwt / wit?

    git-wt was kinda nice, because git wt list works, because of the way that git forwards commands. BUT it can't change paths, because git can't change paths (i.e. the same reason we need a shell function for wt, to wrap the wt binary)1

    (also, to the extent it's worth adding — I didn't intend to make this worse for Windows users, and would have chosen a different name had I done better research on conflicts, apologies for evermore to Windows users...)

    Footnotes

    1. at least without adding a shell function to wrap git... ↩

  13. EED85 commented on Aug 11, 2026

    @EED85

    Hi all,

    I have worktree installed va conda (winget not possible).

    git-wt is not working:

    ❯ git-wt
    bash: git-wt: command not found
    

    creating an alias for wt does not work either :-(.

    alias worktrunk='/c/Users/...../AppData/local/Miniconda3/Library/bin/wt'
    ❯ worktrunk switch master
    ▲ Worktree for master @ 'C:/dev/git/...', but cannot change directory — ran wt.exe; use wt (without .exe) for auto-cd
    ↳ To change directory, run wt switch master
    
    

    Anybody some hint for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions