Questions tagged [windows-terminal]

Microsoft's official new terminal app for Windows, released May 2019.

Windows Terminal is the Terminal app for Windows made by Microsoft, released in May 2019. See the Windows Terminal GitHub

348 questions
4
votes
2 answers

Add SQL Shell (psql) (postgres) to Windows Terminal

I'm trying to add a new terminal Postgres shell (psql) to the Windows Terminal. I want to add it to the profiles list in the settings. This is the windows terminal. In the settings file, we can add a list of profiles. In that list, I have Windows…
nicks101
  • 1,065
  • 11
  • 20
4
votes
1 answer

Setting default windows terminal starting directory to folder within c drive WSL

I am trying to set my default terminal for my WSL prompt in windows terminal to start at a specific folder under the C drive. i am able to set the default to /mnt but it wont let me go /mnt/c/ whenever i do this is sets it back to…
ajnieset
  • 51
  • 2
  • 6
4
votes
1 answer

Cygwin starting directory using Windows Terminal

The guide at https://github.com/microsoft/terminal/blob/master/doc/user-docs/ThirdPartyToolProfiles.md suggests to use { "name" : "Cygwin", "commandline" : "C:/Cygwin/bin/bash --login -i", "icon" : "C:/Cygwin/Cygwin.ico", …
mu7z
  • 466
  • 5
  • 14
4
votes
2 answers

How can I start Git Bash via Windows Terminal with environment variables set?

I am running Windows Terminal and Git Bash on my machine. I want to integrate Git Bash into Windows Terminal, but I want to set the environment variable MSYS_NO_PATHCONV=1 when running Git Bash via Windows Terminal. I do not want to add this to my…
Chris
  • 6,914
  • 5
  • 54
  • 80
4
votes
2 answers

Using Cmder in Windows Terminal

I just wondering can I integrate Cmder with Windows Terminal since I have successfully add Cmder to Windows Terminal but when I open it on Windows Terminal, It would pop-out a Cmder window instead of integration with Windows Terminal. Is there any…
Where
  • 41
  • 1
  • 2
4
votes
1 answer

Windows Terminal - what is minifying my config on save?

I attempting to edit Windows Terminal's JSON config file: When I save, the document is minified: I only have two extensions (I have removed others and restarted vscode). How do I find out where the minification is occuring? How do I stop it?
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
3
votes
1 answer

npm is not working in the Windows Terminal

I have currently installed the latest NodeJS (v19.9.0) through winget. Using it through Git Bash works just fine, however if I try using it through PowerShell or Windows Terminal the node command works just fine, but trying to use npm will result in…
Szabó Áron
  • 185
  • 1
  • 4
3
votes
1 answer

Using a shell script to open new Ubuntu tab, then run commands within those new tabs

I'm using Windows Terminal running Ubuntu. My goal is to open 5 different tabs, navigate to specific directories within each of those tabs, and start certain services therein. As a bonus, I'd like to colour the tabs and title them for tidiness'…
3
votes
1 answer

using git-posh or/and oh-my-posh with Command Prompt(cmd, not Powershell) inside windows terminal

Recently switched to new windows terminal, and after hours of searching on internet I was not able to find anything helpful, all what I want is to set up cmd inside new windows terminal to show git branches just like it's achievable for…
Chestera
  • 667
  • 2
  • 13
  • 22
3
votes
5 answers

How to change the terminal title to currently running process?

I know how to change the Terminal Window title. What I am trying to find out is how to make bash not zsh write out the currently running process so if I say do $ ls -lF I would get something like this for the title /home/me/curerntFolder (ls…
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
3
votes
1 answer

How can we show branch name anytime we’re running terminal on git directory in windows?

The branch name is shown in git bash, but in my vs code, the branch name does not show. I want the branch name to be shown in PowerShell as it is my default terminal in vs code.
Knowledge Man
  • 309
  • 2
  • 10
3
votes
2 answers

Is it possible to create a Windows Terminal bigger than the Screen? C++

I'm testing something and I would like to create a Windows Terminal with bigger dimensions than the current screen. I know it sounds like a stupid idea, but it is what I'm trying to achieve. I've tried different things like: HWND console =…
Marquetes2
  • 35
  • 1
  • 5
3
votes
4 answers

Why does the WSL2 import command in PowerShell output "Access is denied"?

On Windows 10 Pro and 11 Pro I have installed and activated Ubuntu-20.04 and Debian. Using the documentation from MS on switching those distros to a secondary drive, everything seemed to work fine. Until the WSL import command. It outputs "Access is…
3
votes
1 answer

Git Bash in Windows Terminal not rendering Picocli ANSI color codes

I have added Git Bash to Windows Terminal as explained in Adding Git-Bash to the new Windows Terminal. My profile looks as follows: { "guid": "{00000000-0000-0000-ba54-000000000002}", "commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i…
HerCerM
  • 145
  • 2
  • 9
3
votes
3 answers

Windows Terminal profile not showing up

I've just installed WSL2 and am using the Windows Terminal on Win10 1909 (18363.1256). I'm trying to set up 2 different profiles, one that launches a local WSL2 Ubuntu shell, and one that launches another WSL2 shell that will automatically ssh to a…
Sensanaty
  • 894
  • 1
  • 12
  • 35