Windows/Terminal: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "== Windows Terminal == https://github.com/microsoft/terminal == Microsoft Store Install == https://aka.ms/terminal == Chocolatey Install == Unofficial method choco in...")
 
Line 12: Line 12:


  choco install microsoft-windows-terminal
  choco install microsoft-windows-terminal
== multiLinePasteWarning ==
Warning
You are about to paste text that contains multiple lines. If you paste this text into your shell, it may result in the unexpected execution of commands. Do you wish to continue?
https://i.imgur.com/KyzLklE.png
To change these settings (add to settings.json by doing the following)...
Hold down the Shift key while selecting Settings in the Windows Terminal dropdown menu. This will open the editor associated with json files, typically Visual Studio Code if installed.
At the root of your settings.json (not under any other key, just inside the first level of brackets), add:
{
  "multiLinePasteWarning": false,
ref: https://superuser.com/questions/1677982/how-do-i-get-windows-terminal-to-stop-asking-me-every-time-i-paste-something-int
ref: https://learn.microsoft.com/en-us/windows/terminal/customize-settings/interaction#warn-when-the-text-to-paste-contains-multiple-lines


== keywords ==
== keywords ==

Revision as of 18:27, 2 November 2023

Windows Terminal

https://github.com/microsoft/terminal

Microsoft Store Install

https://aka.ms/terminal

Chocolatey Install

Unofficial method

choco install microsoft-windows-terminal

multiLinePasteWarning

Warning

You are about to paste text that contains multiple lines. If you paste this text into your shell, it may result in the unexpected execution of commands. Do you wish to continue?

KyzLklE.png

To change these settings (add to settings.json by doing the following)...

Hold down the Shift key while selecting Settings in the Windows Terminal dropdown menu. This will open the editor associated with json files, typically Visual Studio Code if installed.

At the root of your settings.json (not under any other key, just inside the first level of brackets), add:

{
 "multiLinePasteWarning": false,

ref: https://superuser.com/questions/1677982/how-do-i-get-windows-terminal-to-stop-asking-me-every-time-i-paste-something-int

ref: https://learn.microsoft.com/en-us/windows/terminal/customize-settings/interaction#warn-when-the-text-to-paste-contains-multiple-lines

keywords