Prompt Styles Not Working After Enabling Conda for PS #15528

Closed
opened 2026-01-31 04:41:09 +00:00 by claunia · 1 comment
Owner

Originally created by @Vortexx2 on GitHub (Oct 13, 2021).

Windows Terminal version (or Windows build number)

1.10.2714.0

Other Software

conda 4.10.1
While I'm not sure this issue is cause specifically by anaconda, the issue arose just after executing conda init powershell to activate the command - conda activate env-name.

Steps to reproduce

  1. Install oh-my-posh first by using Install-Module oh-my-posh -Scope CurrentUser.
  2. Open Anaconda Powershell Prompt as administrator.
  3. Run conda init powershell to enable activation of environments in powershell.
  4. On opening a new window of powershell, the prompt styling disappears, while the directory icons as well as styling remains when using commands like ls.

Expected Behavior

  1. The selected theme selected by using Set-PoshPrompt -Theme should work and the appropriate prompt should be displayed.

Actual Behavior

The Powershell configuration has seemed to be reverted to the stock configuration, even though $PROFILE is being executed (verified). The prompt is shown below.

image

Originally created by @Vortexx2 on GitHub (Oct 13, 2021). ### Windows Terminal version (or Windows build number) 1.10.2714.0 ### Other Software `conda 4.10.1` While I'm not sure this issue is cause specifically by anaconda, the issue arose just after executing `conda init powershell` to activate the command - `conda activate env-name`. ### Steps to reproduce 1. Install oh-my-posh first by using `Install-Module oh-my-posh -Scope CurrentUser`. 2. Open **Anaconda Powershell Prompt** as administrator. 3. Run `conda init powershell` to enable activation of environments in powershell. 4. On opening a new window of powershell, the prompt styling disappears, while the directory icons as well as styling remains when using commands like `ls`. ### Expected Behavior 1. The selected theme selected by using `Set-PoshPrompt -Theme` should work and the appropriate prompt should be displayed. ### Actual Behavior The Powershell configuration has seemed to be reverted to the stock configuration, even though `$PROFILE` is being executed (verified). The prompt is shown below. ![image](https://user-images.githubusercontent.com/68988130/137146335-3f143b68-e142-4d8b-80a9-02780ed32995.png)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:41:10 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 13, 2021):

It looks like conda is overwriting the prompt. This may need to be filed on their repository.

@DHowett commented on GitHub (Oct 13, 2021): It looks like `conda` is overwriting the prompt. This may need to be filed on their repository.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15528