mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-29 12:01:07 -08:00
parent
56987bf63a
commit
f6703e9c2c
|
@ -18,13 +18,14 @@ Local changes can also be displayed which uses the following syntax for both the
|
|||
|
||||
:::tip
|
||||
PowerShell offers support for the `posh-git` module for autocompletion, but it is disabled by default.
|
||||
To enable this, set `$env:POSH_GIT_ENABLED = $true` in your `$PROFILE`.
|
||||
To enable this, set `$env:POSH_GIT_ENABLED = $true` in your `$PROFILE`. Be aware this calls `git status`
|
||||
twice, so in case you're having a slow repository, it's better to migrate to the [Posh-Git segment][poshgit].
|
||||
:::
|
||||
|
||||
:::warning
|
||||
Starting from version 3.152.0, `display_status` is disabled by default.
|
||||
It improves performance but reduces the quantity of information. Don't forget to enable it in your theme if needed.
|
||||
An alternative is to use the [Posh-Git segment][poshgit]
|
||||
An alternative is to use the [Posh-Git segment][poshgit].
|
||||
:::
|
||||
|
||||
## Sample Configuration
|
||||
|
|
|
@ -9,7 +9,8 @@ sidebar_label: Git (posh-git)
|
|||
Display the [posh-git][posh-git] prompt.
|
||||
|
||||
:::caution
|
||||
This segment only works within Powershell and requires the posh-git module to be installed and imported.
|
||||
This segment only works within Powershell and requires the posh-git module to be installed and imported
|
||||
as well as `$env:POSH_GIT_ENABLED = $true` added to your `$PROFILE`.
|
||||
:::
|
||||
|
||||
## Sample Configuration
|
||||
|
|
Loading…
Reference in a new issue