Allow aliasing parent process directories #16441

Open
opened 2026-01-31 05:12:08 +00:00 by claunia · 0 comments
Owner

Originally created by @UmbralReaper on GitHub (Jan 19, 2022).

Description of the new feature/enhancement

I like to start windows terminal through the search function in the taskbar, or through PowerToys Run. However, both of these end up in undesirable starting locations when windows terminal inherits the parent process (C:\Windows\System32 and ~\AppData\Local\Microsoft\WindowsApps, respectively). However, setting a more desirable default start location (such as %USERPROFILE) prevents inheriting the location when it is useful.

I propose that you allow setting aliases for start locations in settings.

{
    "start_aliases": {
        "C:\\Windows\\System32": "%USERPROFILE%",
        "%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps": "%USERPROFILE%"
    }
}
Originally created by @UmbralReaper on GitHub (Jan 19, 2022). # Description of the new feature/enhancement I like to start windows terminal through the search function in the taskbar, or through PowerToys Run. However, both of these end up in undesirable starting locations when windows terminal inherits the parent process (`C:\Windows\System32` and `~\AppData\Local\Microsoft\WindowsApps`, respectively). However, setting a more desirable default start location (such as `%USERPROFILE`) prevents inheriting the location when it is useful. I propose that you allow setting aliases for start locations in settings. ```json { "start_aliases": { "C:\\Windows\\System32": "%USERPROFILE%", "%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps": "%USERPROFILE%" } } ```
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 05:12:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16441