Quake Mode - Working Directory on Launch #14654

Closed
opened 2026-01-31 04:16:03 +00:00 by claunia · 2 comments
Owner

Originally created by @alias404 on GitHub (Jul 23, 2021).

Description of the new feature/enhancement

I was hoping if Windows Terminal has this feature...

Suppose, I am working in VSCode and I have a need of terminal so I will open up Windows Terminal in Quake Mode but it is opening it in System32 and instead I can open it in VSCode working directory...

and I have already setup Windows Terminal for VSCode as an External Terminal but I dont know how to do it for Quake Mode.

Originally created by @alias404 on GitHub (Jul 23, 2021). # Description of the new feature/enhancement I was hoping if Windows Terminal has this feature... Suppose, I am working in VSCode and I have a need of terminal so I will open up Windows Terminal in Quake Mode but it is opening it in **System32** and instead I can open it in VSCode working directory... and I have already setup Windows Terminal for VSCode as an External Terminal but I dont know how to do it for Quake Mode.
Author
Owner

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

You can manually launch into the quake window with the commandline wt -w _quake. So something like wt -w _quake -d . probably should open in the appropriate directory. I'm not really sure how exactly VsCode passes the working directory information to the terminal it launches, so you might need to adjust the -d param accordingly.

See also the docs:

@zadjii-msft commented on GitHub (Jul 23, 2021): You can manually launch into the quake window with the commandline `wt -w _quake`. So something like `wt -w _quake -d .` probably _should_ open in the appropriate directory. I'm not really sure how exactly VsCode passes the working directory information to the terminal it launches, so you might need to adjust the `-d` param accordingly. See also the docs: * https://docs.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows * https://docs.microsoft.com/en-us/windows/terminal/tips-and-tricks#quake-mode
Author
Owner

@alias404 commented on GitHub (Jul 23, 2021):

Yeah, I'll look into it but I kinda did a trick in order to achieve it ....
So, I will open Windows Terminal from VSCode (External Terminal) so VSCode will open it into my project directory and then If I open Quake Window using Win + ` It will open it into same Directory as Window Terminal. So,I will be able to use Quake window untill I open it in some other directory or I restart my device or I exit quake window.

@alias404 commented on GitHub (Jul 23, 2021): Yeah, I'll look into it but I kinda did a trick in order to achieve it .... So, I will open Windows Terminal from VSCode (External Terminal) so VSCode will open it into my project directory and then If I open Quake Window using `Win` + ``` ` ``` It will open it into same Directory as Window Terminal. So,I will be able to use Quake window untill I open it in some other directory or I restart my device or I exit quake window.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14654