You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update dynamic-profiles.md (#438)
* Update dynamic-profiles.md
Create section for dynamic profile for `Developer Powershell for VS 2019`
* Update dynamic-profiles.md
Update name and remove `startingDirectory`
* Update dynamic-profiles.md
Explain a little better
* Update VS version info in 3rd party (#462)
* Update custom prompt tutorial w latest OMP steps (#467)
* Add themes link
* Bulk fix - Removing .localizationpriority (#469)
* Testing image (#474)
* Update new-tab-same-directory.md
* Update new-tab-same-directory.md
* Include note on how to save the directory of a pane (#473)
* Add decimal value note for pane size
Resolves#276
* Remove VS PowerShell and CMD for 3rd party
..these are now officially dynamic profiles.. so no longer need to be added as 3rd party as of Terminal v. 1.12. :)
* Add faq for psreadline
* Fix formatting
* Remove space before code block
* Remove code block
* Fix link
Co-authored-by: Shubham Gogna <36936863+shgogna@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: Jason Howell <5067358+JasonWHowell@users.noreply.github.com>
Co-authored-by: Schuyler Rosefield <Rosefield@users.noreply.github.com>
Copy file name to clipboardExpand all lines: TerminalDocs/command-line-arguments.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Below is the full list of supported commands and options for the `wt` command li
60
60
|`split-pane`, `sp`|`--startingDirectory, -d starting-directory`| Creates a new split window pane based on the assigned starting directory path. If this parameter is not assigned, the default starting directory will be used. | Directory path |
61
61
|`split-pane`, `sp`|`--title`| Creates a new split window pane with the assigned title. | Text to use as the tab title |
62
62
|`split-pane`, `sp`|`--tabColor`| Creates a new split window pane with the assigned tab color. | Hex color as #RGB or #RRGGBB |
63
-
|`split-pane`, `sp`|`--size, -s size`| Creates a new split window pane with the assigned size. | Float that specifies the portion of the parent pane to use |
63
+
|`split-pane`, `sp`|`--size, -s size`| Creates a new split window pane with the assigned size. | Float that specifies the portion of the parent pane to use represented by a decimal. For example, `.4` to represent 40% of the parent pane. |
64
64
|`split-pane`, `sp`|`commandline`| Creates a new split window pane based on the assigned command line. | Executable with optional commands |
65
65
|`split-pane`, `sp`|`--duplicate, -D`| Creates a new split window pane that is a duplicate of the current pane. | N/A. No additional values to assign. |
> Visual Studio’s “Developer Powershell” and “Developer Command Prompt” include shell environment variables and tools settings that would not be available in the default Command Prompt or Powershell instance.
155
-
156
-
### Developer Powershell for Visual Studio
157
-
158
-
Assuming that you've installed [Visual Studio](/visualstudio/install/install-visual-studio):
To find the `commandline` path to use in the Windows Terminal settings for your Visual Studio instance:
168
-
169
-
1. Find the shortcut to `Developer Powershell for VS 2019` in the start menu
170
-
2. Right-click and select `Open File Location`
171
-
3. Right-click and select `Properties` on the shortcut
172
-
4. Inspect the `Target` field. It will be some value like `C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell 994a9d58}"`
173
-
5. Use `Target` field value to update the file path for `Import-Module` in the profile `commandline`
174
-
6. Use `Target` field value to update the unique instance ID used with the `Enter-VsDevShell` command in the profile `commandline`
175
-
176
-
> [!NOTE]
177
-
> Visual Studio’s “Developer Powershell” and “Developer Command Prompt” include shell environment variables and tools settings that would not be available in the default Command Prompt or Powershell instance.
Copy file name to clipboardExpand all lines: TerminalDocs/faq.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ metadata:
3
3
title: Windows Terminal FAQ
4
4
description: Frequently asked questions about Windows Terminal, such as how to start terminal in administrator mode, how to save a terminal session, and more.
5
5
ms.topic: troubleshooting
6
-
ms.date: 12/09/2021
6
+
ms.date: 01/06/2022
7
7
ms.author: mattwoj
8
8
author: mattwojo
9
9
manager: jken
@@ -96,14 +96,14 @@ sections:
96
96
97
97

98
98
99
+
- question: How can I customize PowerShell prompt colors using PSReadLine?
100
+
answer: |
101
+
The PSReadLine module is responsible for setting the colors and behavior of your PowerShell command line. You can set colors for specific attributes of your PowerShell prompt by using the [Set-PSReadLineOption, see Example 4: Set multiple color options](/powershell/module/psreadline/set-psreadlineoption#example-4--set-multiple-color-options).
102
+
99
103
# - question: Is there a way to sync your terminal settings across devices?
100
104
# answer: |
101
105
# TBD
102
106
103
107
# - question: Can we expect a status bar on the bottom of Windows Terminal?
0 commit comments