Add command palette item to restart the window #17843

Closed
opened 2026-01-31 05:56:05 +00:00 by claunia · 2 comments
Owner

Originally created by @wmstack on GitHub (Jul 2, 2022).

Description of the new feature/enhancement

A simple option to reload configuration variables (e.g. PATH), or to restart the window. It can save us a few clicks if we can refresh the terminal when installing a new app, for example, from Winget. The issue is that when installing new apps, the PATH is not updated for the application so refreshing the environment variables could be useful.

Proposed technical implementation details (optional)

Add a command in the palette for restarting the window, and add a command for refreshing the environment variables so that newly installed binaries work directly.

Originally created by @wmstack on GitHub (Jul 2, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement A simple option to reload configuration variables (e.g. `PATH`), or to restart the window. It can save us a few clicks if we can refresh the terminal when installing a new app, for example, from Winget. The issue is that when installing new apps, the PATH is not updated for the application so refreshing the environment variables could be useful. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) Add a command in the palette for restarting the window, and add a command for refreshing the environment variables so that newly installed binaries work directly. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 05:56:06 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 7, 2022):

#1125 Seems like it'd be more straightforward - just reload the env vars for new tabs, etc.

There's also #3726, which is per pane (not per-window), but is probably good enough here, yea/?

@zadjii-msft commented on GitHub (Jul 7, 2022): #1125 Seems like it'd be more straightforward - just reload the env vars for new tabs, etc. There's also #3726, which is per pane (not per-window), but is probably good enough here, yea/?
Author
Owner

@wmstack commented on GitHub (Jul 7, 2022):

Yeah both of them are good enough. As long as they are on the command palette as well! I'll close this as not adding to the other issues.

@wmstack commented on GitHub (Jul 7, 2022): Yeah both of them are good enough. As long as they are on the command palette as well! I'll close this as not adding to the other issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17843