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
0
votes
0 answers

Force git log to display UTF8 in Windows Terminal

I've started to use Windows Terminal as my git command-line tool, but It seems like Korean characters are not properly printed when I type git log, like: I've also tried using cmd and powershell, but same thing also happened. (no screenshots) But…
MyBug18
  • 2,135
  • 2
  • 11
  • 25
0
votes
2 answers

Execute this command line in Windows

I'm trying to connect my firebase auth to an expo project. I'm following the main docs of each library. I'm stucking on this step. I'm not able in windows to exeute this command line openssl rand -base64 32 | openssl sha1 -c. I've tried with the…
0
votes
2 answers

Set git bash color scheme via script in Windows Terminal

To set my terminal theme, I typically use a script which prints ANSI control sequences. For example, echo -e "\033]11;rgb:20/20/30\033\\" sets the background color to RBG #202030. This works with git-bash+mintty, and it works with WSL+Windows…
Nick
  • 167
  • 2
  • 12
0
votes
1 answer

Windows Terminal vs Ubuntu.exe

What's the difference between using an Ubuntu tab on Windows Terminal vs using the Ubuntu app for Windows (ubuntu.exe)? I've only noticed that each start at a different directory: WT: :/mnt/c/Users/username Ubuntu: /home/username
0
votes
1 answer

Adding MySQL to Windows Terminal profiles

I just started using the relatively new Windows Terminal, but while adding my profiles (Git, etc.) I stumbled upon a problem I couldn't add MySql.
0
votes
1 answer

How to open script inside Windows Terminal

I have shortcut which under the hood performs something like that: C:\Windows\System32\cmd.exe /C "powershell D:\ssh.ps1" it executes ssh.ps1 script which inside opens SSH to ssh user@$ip where $ip comes from variable but it executes inside cmd,…
Axelly
  • 589
  • 3
  • 7
  • 26
0
votes
2 answers

Windows Terminal not changing directory via script

I have file assist.cmd, which is within my %path% with the contents pushd m:\Documents\Code\assist When I type assist on windows terminal (the new one) I get: PS C:\Users\User> assist C:\Users\User>pushd m:\Documents\Code\assist PS…
gclark18
  • 659
  • 6
  • 23
0
votes
2 answers

Passing arguments to PowerShell with "-Command" parameter using AutoHotKey and Windows Terminal

My question pertains more toward PowerShell, but for completeness I am using AutoHotKey to run the PowerShell command. I'm trying to pass some arguments to PowerShell with the "-Command" parameter, but running into issues if the arguments contain…
howdoicode
  • 779
  • 8
  • 16
0
votes
2 answers

How to use CTRL+C CTRL+V keyboard shortcuts for copy and paste in Windows Terminal

Is there any easy way to be able to use CTRL+C for copying selected text and CTRL+V for pasting in Windows terminal, just like how we use those keyboard shortcuts in notepad, word etc. CTRL+SHIFT+C does copy, but I wouldn't prefer that. Hitting…
Sunil Purushothaman
  • 8,435
  • 1
  • 22
  • 20
0
votes
1 answer

What have I missed in Windows Terminal settings.json?

I just start to customize Windows Terminal. I would like to add Git and it opens the git-bash.exe outside of the program. What have I missed in the settings.json? That's the settings.json "profiles" -> "list" array { "guid":…
Barney
  • 27
  • 5
0
votes
1 answer

'\' is not recognized as an internal or external command, operable program or batch file. when issuing a git rev-list

Whenever I try to run this command in windows terminal. I get a '\' is not recognized as an internal or external command, operable program or batch file. git rev-list --all --objects | \ sed -n $(git rev-list --objects --all | \ cut -f1 -d'…
TheBAST
  • 2,680
  • 10
  • 40
  • 68
0
votes
1 answer

How to show file and folder names along with terminal icons without showing current directory?

I want to remove the space/ area taken up in showing the Directory: C:\Users\varun\Desktop\Projects\advanced-react-patterns-v2 when I run the command: Get-ChildItem | Format-Wide Additional details: Using Windows Terminal & Powershell Font…
0
votes
1 answer

How to expand the new Windows Terminal to support AWS?

Loving the new Terminal but often I need to SSH into an EC2 instance on AWS. Right now I open an Ubuntu tab and then SSH into EC2. I see in the dropdown Azure Cloud Shell. Is there a way to directly SSH into AWS in a similar way?
0
votes
0 answers

How to add a profile entry to Windows Terminal with C#?

I would like to add some profile entries to the Windows Terminal profiles.json file. This is my current profiles.json file: { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile":…
0lan
  • 179
  • 1
  • 14
0
votes
1 answer

Add XAMPP shell to new 'Windows Terminal'

I know that in the new Windows Terminal I can add any custom profile, so I want to start XAMPP shell from there. In the settings json file I add the profile but I have a problem adding the right "commandline" variable value. I've tried…