mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
docs(faq): add missing period and simplify language
This commit is contained in:
parent
4e52382960
commit
cde9a8404b
|
@ -138,11 +138,11 @@ To solely rely on Oh My Posh to set the prompt, you can configure the follwing s
|
||||||
conda config --set changeps1 False
|
conda config --set changeps1 False
|
||||||
```
|
```
|
||||||
|
|
||||||
### Python venv: Prompt is changed to display the environment name
|
### Python venv: Prompt changes on activating virtual environment
|
||||||
Upon activation, virtual environments created with `venv` change the prompt to add the activated environment's name.
|
Virtual environments created with `venv` add the active environment's name to the prompt automatically.
|
||||||
To disable this behaviour, set `VIRTUAL_ENV_DISABLE_PROMPT` environment variable to `1` on your system. Example commands to run, with probable file locations you'll have to put them in for auto-loading:
|
To disable this behaviour, set `VIRTUAL_ENV_DISABLE_PROMPT` environment variable to `1` on your system. Example files:
|
||||||
|
|
||||||
Note: Tilde (~) in paths here refers to your user's home directory.
|
Note: Tilde (~) in paths refers to your user's home directory.
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
defaultValue="powershell"
|
defaultValue="powershell"
|
||||||
|
@ -156,7 +156,7 @@ Note: Tilde (~) in paths here refers to your user's home directory.
|
||||||
<TabItem value="powershell">
|
<TabItem value="powershell">
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
# powershell - ~/Documents/WindowsPowerShell/profile.ps1
|
# ~/Documents/WindowsPowerShell/profile.ps1
|
||||||
$env:VIRTUAL_ENV_DISABLE_PROMPT=1
|
$env:VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ $env:VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
<TabItem value="fish">
|
<TabItem value="fish">
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
#fish - ~/.config/fish/config.fish
|
# ~/.config/fish/config.fish
|
||||||
set -x VIRTUAL_ENV_DISABLE_PROMPT 1
|
set -x VIRTUAL_ENV_DISABLE_PROMPT 1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ set -x VIRTUAL_ENV_DISABLE_PROMPT 1
|
||||||
<TabItem value="others">
|
<TabItem value="others">
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# bash, zsh - ~/bashrc or ~/.zprofile ~/.zshrc
|
# ~/.bashrc (bash) or ~/.zprofile or ~/.zshrc (zsh)
|
||||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue