summaryrefslogtreecommitdiffstats
path: root/docs/advanced-config
diff options
context:
space:
mode:
Diffstat (limited to 'docs/advanced-config')
-rw-r--r--docs/advanced-config/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/advanced-config/README.md b/docs/advanced-config/README.md
index afd47ce17..13f30c0c4 100644
--- a/docs/advanced-config/README.md
+++ b/docs/advanced-config/README.md
@@ -245,7 +245,7 @@ You can also set a similar output with PowerShell by creating a function named `
```powershell
# edit $PROFILE
function Invoke-Starship-PreCommand {
- $host.ui.Write("`e]0; PS> $env:USERNAME@$env:COMPUTERNAME`: $pwd `a")
+ $host.ui.RawUI.WindowTitle = "$env:USERNAME@$env:COMPUTERNAME`: $pwd `a"
}
Invoke-Expression (&starship init powershell)