[PR #12050] [MERGED] fix ~ not work as startingDirectory for WSL #28814

Open
opened 2026-01-31 09:30:56 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12050
Author: @LuanVSO
Created: 12/27/2021
Status: Merged
Merged: 1/5/2022
Merged by: @undefined

Base: mainHead: LuanVSO-patch-11432


📝 Commits (2)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+2 -2)

📄 Description

Summary of the Pull Request

fix #11432

References

PR Checklist

  • Closes Define default zoom level (#11432)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

compiled and verified that "~" , "/usr/bin" , "~/.config" and "/" as stating directory didn't get relative path resolve
verified that '.' did


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12050 **Author:** [@LuanVSO](https://github.com/LuanVSO) **Created:** 12/27/2021 **Status:** ✅ Merged **Merged:** 1/5/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `LuanVSO-patch-11432` --- ### 📝 Commits (2) - [`959b7cd`](https://github.com/microsoft/terminal/commit/959b7cd58e85759c25550da67dacb0465856ec0a) fix 11432 - [`f5b5f61`](https://github.com/microsoft/terminal/commit/f5b5f61531a9b495079cd5ce421e0e1ef81f2c2d) fix crash when startingpath is empty ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+2 -2) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request fix #11432 <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #11432 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed compiled and verified that "\~" , "/usr/bin" , "~/.config" and "/" as stating directory didn't get relative path resolve verified that '.' did --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:30:56 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28814