ohmyzsh / ohmyzsh

🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Home Page:https://ohmyz.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`anaconda` env information is displayed incorrectly after commit 309129f

antonovmaxim opened this issue · comments

Describe the bug

Text signing the current environment:

  1. Displays on the line like if I had typed it in
  2. Duplicated with the text in brackets at the beginning

(see image)

image

The problem occurred after commit 309129f.

Steps to reproduce

  1. Install miniconda3
  2. Update oh-my-zsh
  3. Execute conda init zsh

Expected behavior

See "before commit 309129f"

Screenshots and recordings

No response

OS / Linux distribution

Arch linux

Zsh version

5.9

Oh My Zsh version

master (dfb436b)

Terminal emulator

Kitty

If using WSL on Windows, which version of WSL

None

Additional context

No response

Ouch, I didn't know conda already displayed a text by itself. Does that always happen?

Reverted, thanks for the report 👍🏻

Yes, my conda always shows itself which environment is active. After conda init, it modifies ./zshrc, and runs the necessary scripts at startup. Anyway, the problem is fixed, thanks for the quick response!