Skip to content

Commit 64298e7

Browse files
author
Jason.Helmick
committed
edit pass
1 parent 1307d35 commit 64298e7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/cloud-shell/cloud-shell-predictive-intellisense.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ services: Azure
55
documentationcenter: ''
66
author: theJasonHelmick
77
manager: mgreene
8-
tags: cloud-shell
98

10-
ms.assetid:
119
ms.service: cloud-shell
1210
ms.workload: infrastructure-services
1311
ms.tgt_pltfrm: vm-linux
@@ -87,20 +85,10 @@ profile exists in Cloud Shell.
8785
Test-Path -Path $Profile
8886
```
8987

90-
If the output is **True**, then a profile already exists. Edit the existing profile to add the
91-
commands to configure the color and behavior of Predictive IntelliSense. Use the built-in
92-
open-source editor to edit the profile. To learn more, see [Azure Cloud Shell editor][04].
93-
94-
Use the built in Cloud Shell editor to edit the profile:
95-
96-
```powershell
97-
Code $Profile
98-
```
88+
### How to Create a PowerShell profile in Cloud Shell
9989

10090
If the output is **False**, create a profile and add the customized color and behavior commands.
10191

102-
### How to Create a PowerShell profile in Cloud Shell
103-
10492
To store configuration commands for Predictive IntelliSense, Use the `New-Item` cmdlet to create a
10593
PowerShell profile.
10694

@@ -127,14 +115,26 @@ Set-PSReadLineOption -PredictionSource History
127115
Set-PSReadLineOption -Colors @{ InLinePrediction = '#8d8d8d' }
128116
```
129117

118+
### How to Edit a PowerShell profile in Cloud Shell
119+
120+
If the output is **True**, then a profile already exists. Edit the existing profile to add the
121+
commands to configure the color and behavior of Predictive IntelliSense. Use the built-in
122+
open-source editor to edit the profile. To learn more, see [Azure Cloud Shell editor][04].
123+
124+
Use the built in Cloud Shell editor to edit the profile:
125+
126+
```powershell
127+
Code $Profile
128+
```
129+
130130
For more information about configuring PSReadLine and managing predictors, see
131131
[Using predictors in PSReadLine][05].
132132

133133
<!-- link references -->
134-
[01]: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline
135-
[02]: https://learn.microsoft.com/powershell/azure/az-predictor
136-
[03]: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlineoption
137-
[04]: https://learn.microsoft.com/azure/cloud-shell/using-cloud-shell-editor
138-
[05]: https://learn.microsoft.com/powershell/scripting/learn/shell/using-predictors
139-
[06]: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles
134+
[01]: /powershell/module/psreadline/about/about_psreadline
135+
[02]: /powershell/azure/az-predictor
136+
[03]: /powershell/module/psreadline/set-psreadlineoption
137+
[04]: /azure/cloud-shell/using-cloud-shell-editor
138+
[05]: /powershell/scripting/learn/shell/using-predictors
139+
[06]: /powershell/module/microsoft.powershell.core/about/about_profiles
140140

0 commit comments

Comments
 (0)