"duplicate tab" fails due to improper path being sent. #21999

Closed
opened 2026-01-31 08:00:30 +00:00 by claunia · 8 comments
Owner

Originally created by @trajano on GitHub (Jul 23, 2024).

Windows Terminal version

1.20.11781.0

Windows build number

Microsoft Windows [Version 10.0.26100.1150]

Other Software

Git bash
Oh-My-Posh

Steps to reproduce

  1. Open up a git bash window
  2. ctrl-shift-P
  3. "duplicate tab"

Expected Behavior

open to current directory

Actual Behavior

[error 2147942667 (0x8007010b) when launching `C:/Program Files/Git/bin/bash.exe -i -l']
Could not access starting directory "C:\Users13:06:36rajano"
[error 2147942667 (0x8007010b) when launching `C:/Program Files/Git/bin/bash.exe -i -l']
Could not access starting directory "C:\WINDOWS\system32\Tue Jul 23h\iblum-stack"
Originally created by @trajano on GitHub (Jul 23, 2024). ### Windows Terminal version 1.20.11781.0 ### Windows build number Microsoft Windows [Version 10.0.26100.1150] ### Other Software Git bash Oh-My-Posh ### Steps to reproduce 1. Open up a git bash window 2. <kbd>ctrl-shift-P</kbd> 3. "duplicate tab" ### Expected Behavior open to current directory ### Actual Behavior ``` [error 2147942667 (0x8007010b) when launching `C:/Program Files/Git/bin/bash.exe -i -l'] Could not access starting directory "C:\Users13:06:36rajano" ``` ``` [error 2147942667 (0x8007010b) when launching `C:/Program Files/Git/bin/bash.exe -i -l'] Could not access starting directory "C:\WINDOWS\system32\Tue Jul 23h\iblum-stack" ```
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:00:30 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 23, 2024):

How do you have your prompt configured/?

@zadjii-msft commented on GitHub (Jul 23, 2024): How do you have your prompt configured/?
Author
Owner

@trajano commented on GitHub (Jul 23, 2024):

With oh-my-posh 22.0.2. Do you think it may be an issue with that? @JanDeDobbeleer FYI

@trajano commented on GitHub (Jul 23, 2024): With `oh-my-posh 22.0.2`. Do you think it may be an issue with that? @JanDeDobbeleer FYI
Author
Owner

@zadjii-msft commented on GitHub (Jul 23, 2024):

Yes but how exactly? What theme? Do you have anything else in your bashrc (or whatever file)/?

@zadjii-msft commented on GitHub (Jul 23, 2024): Yes but _how exactly_? What theme? Do you have anything else in your `bashrc` (or whatever file)/?
Author
Owner

@JanDeDobbeleer commented on GitHub (Jul 23, 2024):

@trajano nothing changed in that area lately. OSC99 should work.

@JanDeDobbeleer commented on GitHub (Jul 23, 2024): @trajano nothing changed in that area lately. OSC99 should work.
Author
Owner

@trajano commented on GitHub (Jul 23, 2024):

@zadjii-msft Custom theme https://gist.github.com/trajano/6330ead3e34f8288f72e7eb54779b761 Haven't changed it in ages.

@trajano commented on GitHub (Jul 23, 2024): @zadjii-msft Custom theme https://gist.github.com/trajano/6330ead3e34f8288f72e7eb54779b761 Haven't changed it in ages.
Author
Owner

@DHowett commented on GitHub (Jul 23, 2024):

@trajano can you capture the output with the debug tap

@DHowett commented on GitHub (Jul 23, 2024): @trajano can you [capture the output with the debug tap](https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#enabling-the-debug-tap)
Author
Owner

@JanDeDobbeleer commented on GitHub (Jul 23, 2024):

@trajano this seems to be a bug on our end.

EDIT: this is an issue I already fixed but in a separate branch I was working on, I'll see if I can cherry pick it and release

@JanDeDobbeleer commented on GitHub (Jul 23, 2024): @trajano this seems to be a bug on our end. EDIT: this is an issue I already fixed but in a separate branch I was working on, I'll see if I can cherry pick it and release
Author
Owner

@trajano commented on GitHub (Jul 23, 2024):

Confirmed update of oh-my-posh fixes it thanks @JanDeDobbeleer

@trajano commented on GitHub (Jul 23, 2024): Confirmed update of oh-my-posh fixes it thanks @JanDeDobbeleer
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21999