Questions tagged [windows-terminal]

Windows Terminal is a terminal emulator for Windows 10 written by Microsoft. Windows Terminal is a new, modern, feature-rich, productive terminal application for command-line users. It includes support for tabs, rich text, globalization, configurability, theming & styling, and more.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Create equivalent bash alias in Windows terminal

Is it possible to create a Windows terminal or Powershell alias that works like this one? If so, how? alias dep="dep -fdeploy/deploy.php"
1
vote
0answers
21 views

How do I prevent certain characters from messing up spacing in terminal emacs, nano, etc in WSL2?

Consider the file Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin non velit sem. Fusce rhoncus eros eget mi blandit, in ultricies mi sollicitudin. Nam nec justo sollicitudin, varius ...
3
votes
2answers
279 views

TERM system environment variable not set - Windows 10

So by mistake I deleted a bunch of my environment variables... The one I cannot make sense of is TERM, a system-variable. Is this supposed to refer to the windows terminal? What value should I set it ...
1
vote
1answer
27 views

Customizing and opening hidden profiles in Windows Terminal

The Windows Terminal Github page does not appear to provide the opportunity to ask "how-to" style questions, so I ask it here. I have defined a new, hidden Powershell profile in my settings. ...
-1
votes
0answers
161 views

Visual studio code debugging using external terminal not working

this is a bit of a long story so here we go. I was experimenting with pyenv as I had troubles using multiple python versions and it broke my VS Code and my Windows Terminal I installed pyenv using the ...
1
vote
1answer
31 views

Windows Terminal not showing in Win + X menu on fresh Windows 11

I have just received my Surface Pro 8 running Windows 11 that I pre-ordered. After setup, Windows Terminal does not appear to be installed. Therefore, I went to the Microsoft Store to download the ...
0
votes
1answer
243 views

Windows Terminal opens on startup with proxy error

Note: This is a duplicate of When I Start my Windows 11 computer, the terminal pops up saying: Error writing proxy settings. (5) Access is denied which has no clear solution for this problem, as it ...
0
votes
1answer
38 views

How to open the Windows Terminal in new tab from File Explorer

I know you can open Windows Terminal from the same folder by typing wt in the address bar. But if I want to open another instance of the terminal but in a new tab, and not a new window of the terminal,...
6
votes
0answers
864 views

When I Start my Windows 11 computer, the terminal pops up saying: Error writing proxy settings. (5) Access is denied [closed]

Problem When I Start my Windows 11 computer, sometimes the terminal pops up saying: Error writing proxy settings. (5) Access is denied. This does not happen every time, but I will occasionally see it. ...
0
votes
1answer
33 views

Increase buffer size in the new Windows Terminal

The default buffer size in the new Windows terminal (https://github.com/microsoft/terminal) is too small and quickly gets full when reading a large file. I could not find a way to increase it. In the ...
1
vote
1answer
38 views

Can't set Windows Terminal as default because it is not detected in the list of terminals

I am running Windows 11 stable version on my Lenovo S340 since upgrading from Windows 10. I looked in the settings of Windows Terminal to set it as the default application, but the list of terminal ...
3
votes
1answer
94 views

Windows Terminal has no title bar and doesn't show tabs

OS: Windows 11 Build: 21H2 22000.258 Processor: AMD Ryzen 9 5950X 16-Core Processor 4.00 GHz RAM: 64.0 GB (63.9 GB usable) It's a pretty fresh install of Windows too, because I did a fresh install ...
0
votes
0answers
16 views

Some fonts displaying extra whitespace in Windows Terminal

I'm running zsh on WSL2 in Windows Terminal, and using a custom theme based on the agnoster theme (and the problem also happens with the original theme), set up via prompt rather than oh-my-zsh or ...
0
votes
1answer
26 views

How to switch between panes in modern Windows Terminal like tmux

ITNOA If I use ctrl+shift+p, I can see some shortcut for creating panes in Windows Terminal, for example alt+shift+- is for creating horizontal pane and alt+shift+plus is for creating vertical panes. ...
1
vote
1answer
195 views

Create a tab in Windows Terminal that is run as a different user?

So I can run... runas /user:PNG\SomeSvc "cmd /c ^"powershell.exe^"" And get a powershell prompt that's run by a different user. But if I'm using Windows Terminal and I want to run ...
7
votes
1answer
1k views

How do I get Windows Terminal to stop asking me every time I paste something into the terminal?

Everytime I paste something into Windows Terminal I get the following annoying message that's attempting to save me from myself. I don't need it! How can I make it go away?
0
votes
0answers
33 views

Is there a way to give the current path different color in Windows Terminal? [duplicate]

I use Windows Terminal, I'm looking for a way to customize the current path color so it stands out in the terminal window, and I can identify it quickly, most coloring schemes only customize the font ...
1
vote
1answer
54 views

How can I play a sound when my Git for Windows Bash command prompt is ready?

I use the shell Git for Windows Bash on Windows 10 and I want to play a sound whenever my command prompt is ready. This acoustic feedback should help me to get (back) to my command line when my ...
0
votes
1answer
33 views

Launch Windows Terminal with multiple commands sequentially

I want keep WindowsTerminal screen remaining after running command for debugging purpose. To achieve this, try running the pause command after the command completes. wt new-tab powershell "ping ...
0
votes
1answer
21 views

How to adjust scroll up/down length in Windows Terminal?

I have Windows Terminal 1.10.2383.0 installed on a Windows 10. I frequently use scroll up/down (ctrl-shift-up and ctrl-shift-down) and it steps in 3 lines. I'd like to adjust this size but could not ...
0
votes
1answer
132 views

WSL on Windows Terminal Preview won't start

Since some update (I am on Windows Terminal Preview 1.11.2421.0), wsl does not start directly any more. I have several profiles created, one for Arch Linux, another for Ubuntu, and another for ...
0
votes
1answer
26 views

How to send escape character on telnet session while using Powershell 7 with a Portuguese keyboard layout

I've started a telnet session (ex.: telnet ip port) and I'm wondering if anyone knows how to send the escape char so that I can get the telnet> prompt back. I've already found this, but it seems ...
4
votes
1answer
57 views

Windows - Stop killing my Terminals for an update

I am using and really enjoying the WindowsTerminal. I find it to be a big improvement over conhost, and most of the alternatives. With one exception. Whenever Microsoft releases an update, the update ...
2
votes
1answer
102 views

Windows Terminal: How to create multiple profiles with different start commands on same WSL1 Ubuntu

I'm on Windows 10 and have WSL1 Ubuntu. On Windows Terminal, I have a profile for it called "Ubuntu". (For this question, assume I cannot change those tools - for instance, I can't upgrade ...
0
votes
0answers
11 views

It is possible to use the external windows terminal for Sublime Text Build output?

I've been reading around but all my google searches seem to conflict with sublimes own terminal. I found this video, but sublime uses the old CMD prompt instead of Windows Terminal. Am much more at ...
1
vote
1answer
484 views

Start Command Prompt always as admin through Windows Terminal

How can I make Windows Terminal always run Command Prompt as admin so I can issue elevated commands?
0
votes
1answer
22 views

Windows Terminal Keeps Crashing when Terminal Bell Sounds (MMDevAPI.DLL)

Windows terminal repeatedly clashes when the terminal bell sound goes off. On my Windows 10 machine this is 100% reproducible by using an Ubuntu shell in Windows Terminal (release and preview release) ...
1
vote
0answers
55 views

Executable not recognized in PowerShell. Possible issue with accented characters in path?

I am trying to customize my PowerShell prompt in Windows Terminal using Oh My Posh. I am following the docs but can't understand what I am missing. As instructed by the Oh My Posh docs, after the ...
0
votes
0answers
127 views

How to send Ctrl-C kill signal in Windows Terminal?

In the terminal I've been using for years (ConEmu), I am able to stop the currently running command with Ctrl-C. This does not work with the Windows Terminal running PowerShell. Once I start a ...
1
vote
2answers
182 views

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 c:\tools\...
1
vote
0answers
27 views

How to change default codepage in Windows Terminal using WSL?

I have a file saved as a Big5 encoding. I have to use cp950 codepage to show that text successfully. In Command Prompt, I can use CHCP 950 to switch to right codepage. In WSL, I don't know how to do ...
1
vote
1answer
779 views

windows 10: launch windows terminal as administrator from task bar in one click and use single icon

I can get it to run as admin by creating the shortcut to wt.exe and checking the Run as Admin checkbox for the shortcut. But it duplicates icons on the taskbar once the app is opened. There is one ...
0
votes
1answer
221 views

How to achieve the exact powerlevel10k git prompt style in oh-my-posh?

I am very fond of the powerlevel10k git prompt with all its symbols. You can find the full list here. Here is a screenshot of the powerlevel10k git prompt for a git repository on branch 'stable' with ...
0
votes
1answer
60 views

Git Bash not using the source value specified in windows terminal settings

Until yesterday my settings.json for Windows Terminal has this profile for Git Bash: ..., "defaultProfile": "{my_guid}", "profiles": { "defaults": {}, &...
0
votes
1answer
66 views

can't select windows terminal as system default

I saw some tutorials on how to do it but it seems like I don't have the option! any clues on how to fix? It seems like the option is disabled or something
2
votes
2answers
39 views

hotkeys in Windows 10

Is it possible to create a hotkey or batch file script (Sorry unsure if I am using the correct language for what I want) where in Windows Terminal hit F1 to run this below in Windows Terminal: alias ...
0
votes
1answer
29 views

Can I target a given Windows Terminal "session" when invoking `wt.exe`?

I replaced the entry Git for Windows creates in the context menu of directories to start the bash.exe inside Windows Terminal. This appears to work fine, except for one aspect. The way I did this was ...
1
vote
3answers
587 views

Encountered errors while loading user settings in Windows Terminal on Windows 11

I just installed Windows 11 Preview. Windows 11 Pro 21H2 ‎2021-‎07-‎02 version 22000.51 Windows Feature Experience Pack 421.16300.0.3 Since then, I have been getting a Windows PowerShell window ...
0
votes
1answer
214 views

Selectively remove command history of windows terminal

I would like to selectively remove some of the history in Windows Terminal. History refers to the past commands typed into the Windows Terminal. How can this be done? Thank you. I'm using Windows 10, ...
0
votes
0answers
57 views

How to customize Ubuntu Linux subsystem color scheme in auto complete

I have installed Ubuntu Linux subsystem on my Windows machine. I am using 'Windows Terminal' to access the Ubuntu Linux subsystem. And I have installed Oh-My-Zsh , powerline10K and zsh as my default ...
3
votes
1answer
711 views

Command prompt can't find windows terminal even though it detects the file's path

There are numerous Stack Overflow questions that ask a variant of this question; I've read through the first 10 or so, and none held the answer to my problem. I'm trying to run wt.exe via command ...
0
votes
1answer
43 views

Turn off hyperlinks in Windows Terminal

Version 1.4 of Windows Terminal introduced a new "feature" where it will automatically detect and underline links and shows a hint with "Ctrl+Click to follow link" on mouse-over. I ...
1
vote
0answers
20 views

Windows Terminal - display background image across split panes

When using Windows Terminal and splitting the window panes it currently duplicates my custom background image between the two panes. Is there a way to have the background image encompass the entire ...
0
votes
0answers
59 views

Which terminal is that?

While watching Introduction tutorial to Qt / QML I noticed Jesper Pedersen from KDAB seems to be using a Windows terminal which is not that old (classic) DOS command prompt I'm used to. Seems to be ...
0
votes
1answer
53 views

Windows Terminal: disable "follow link"

Since some new version, every single link the output is underlined, with this tooltip: Ctrl+Click to follow link I found this: <data name="HowToOpenRun.Text" xml:space="preserve&...
1
vote
1answer
928 views

permission denied for config oh my posh on wsl

I tried to config oh my posh on windows terminal (wsl ubunto 20.04) Based on the Microsoft docs , I run this command on wsl: wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/...
0
votes
1answer
30 views

Shell-based (Terminal) methods for viewing or tailing Windows logs (events)?

I would like to "tail" Windows system logs and other such logs via a shell (in Terminal) in Windows. I don't want to use traditional window log viewing methods such as Event Viewer or even ...
2
votes
2answers
34 views

Can I position the current line in the Windows Terminal a few lines off the bottom of the screen?

On Windows 10 using the Windows Terminal (v1.6). Is there a setting to add a few lines of "margin" to the terminal window so it's not continually glued to the bottom of the viewport? I use ...
2
votes
1answer
303 views

Git Bash with Windows Terminal prints weird characters instead of newline

I'm on a fresh machine and installed Windows Terminal [Microsoft Store] and Git Bash [latest]. I ran a build script that logs its progress and whenever a newline character appears (maybe others as ...
0
votes
1answer
134 views

Cannot enter password automatically in Terminal PuTTY plink command to connect CentOS 7 in Windows

I want to connect CentOS 7 in Windows Terminal, when I use command: ssh root@192.168.50.160 The arrow keys works well, but ssh command can't enter password automatically. So, I use PuTTY plink ...