Quantcast
Channel: Active questions tagged windows-terminal - Super User
Browsing all 44 articles
Browse latest View live

How to start Windows Terminal and run git bash command immediately?

I would like to automatically run a command in Windows Terminal when it starts for bash tab.How to do that?I'm trying to use "command" in json options, but it doesn't work:{"guid":...

View Article



tricks to using Terminal+PowerShell+Vim?

I use Vim evoked in raw PowerShell 7 without problems. I have PowerShell 7 as my shell in Windows Terminal. If I try to evoke Vim in a PowerShell 7 instance withing Terminal, Vim does not behave...

View Article

Image may be NSFW.
Clik here to view.

How to add Windows Store Apps to PATH?

I want to add the Windows Terminal (wt) to PATH, as I get the following error if I execute the commands "wt" and "wt.exe":My problem is that Micro$oft has apparently added a version number to their...

View Article

Windows Terminal isn't added to tab history when started via the Run dialog

When opening powershell, cmd, bash, or any other REPL from the Run dialog (Win + R) via the Windows Terminal app ("WT" from now on), I can type as though WT's focused, but its taskbar icon isn't...

View Article

Run Java JAR file in background

I have a .jar file that acts weird with hdpi screens. When I run it directly by double-clicking on it, the text is very small and blurry, as if it wasn't hdpi-aware. But if I open my terminal and run...

View Article


How to update Python 3 installed through the Microsoft store without...

I installed Python 3.10 through the Microsoft Store and used to launch my scripts calling in python as such: python <path to script>.py.Python 3.11 just launched and now that I type python in the...

View Article

Programmatically open new CMD and enter code *but not run it*? [duplicate]

Is it possible in Windows to programmatically launch a new instance of CMD, Terminal, or PS (doesn't matter which) and populate the input field with some arbitrary code, just like if a user was typing...

View Article

How to change the location of settings.json file in Windows Terminal

I have a need to change the the default folder where Windows terminal is looking for settings.json file. From C:\Users%USER%\AppData\Local\Microsoft\Windows Terminal to my personal...

View Article


Why does Windows Terminal in Windows 11 doesn't resolve environment variables...

I've used sysdm.cpl to set the following two environment variables system-wide:JAVA_HOME=%ProgramFiles%\Java\jdk-8M2_HOME=%ProgramFiles%\Apache\mavenWhen starting a Windows Terminal using the context...

View Article


How to split panes in Windows Terminal on startup?

I want to start Windows terminal with multiple panes.This does not work in settings.json:"startupActions": "new-tab -p \"Command Prompt\"; split-pane -p \"Command Prompt\"" ,and gives the following...

View Article

Windows Terminal - Start a new tab using the cli and run a command with fish

I am using the wt.exe CLI to run some WSL commands in a new tab. However, I seem to be getting some weird error when using Fish shell.The command:wt.exe --window 0 new-tab -p Ubuntu /usr/bin/fish -C...

View Article

Image may be NSFW.
Clik here to view.

I accidentally activated this history search feature in powershell core. What...

I have a rather unusual request - I accidentally activated this feature with my laptop keyboard:It shows all previous commands that match my command prompt. It is very useful, but it appears to be...

View Article

Open Windows Terminal PREVIEW from command line

Is there a way to start a Windows Terminal Preview process? I know you can start the regular Windows Terminal using wt.exe, however, I am using the preview version and would like to open a terminal...

View Article


Entering Ctrl-; seems to enter ^[ (escape) in WSL2/Ubuntu/Windows Terminal....

Entering Ctrl-; (control with semicolon) seems to enter ^[ (escape) in WSL2/Ubuntu/Windows Terminal. Why is this happening, and how do I turn off this behavior?Note that it doesn't seem to happen when...

View Article

how do I make an icon (on the win 11 taskbar) that opens windows terminal as...

I have an icon on my task bar that opens a windows terminal to cmd.exe by default, and in the profile for windows terminal I also have an entry for doing ssh to a server that I connect to. I would like...

View Article


Can Windows Terminal be used without Touch Keyboard and Handwriting Panel...

Now that Windows Terminal can be downloaded as a Zip file containing all components directly from GitHub, rather than as MS Store "app", I thought I'd try it on Windows 10 (22H2, build 19045.3570).It...

View Article

Windows Terminal Autocomplete Freezes after Semicolon

On Windows Terminal using WSL 2 + bash, if my current input ends in ; and I hit [TAB], that tab terminal becomes unresponsive to user input for about 25 seconds. [CTRL] + [C] prints ^C to the screen,...

View Article


What does Windows Terminal's state.json file do?

I have a couple scripts that rewrite my windows terminal settings.json file from a template.While fixing a bug I noticed another file, state.json. But I can't find any documentation for it. Here's my...

View Article

How to port / sync my Windows Terminal settings between computers?

I spent quite some time in Windows Terminal to set up my preferences and color themes. What's a good way to port / sync these settings to other computers?I guess there are 3 tiers of solutions:Level 1:...

View Article

Making windows terminal color more like putty

How to make color in windows terminal same as putty which I am more use to, in the default color scheme in windows terminal many text are not clearly visible in utilities like vimdiff, I tried other...

View Article
Browsing all 44 articles
Browse latest View live




Latest Images