1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 02:05:51 +08:00

Revert "feat(agnoster): add anaconda env information (#12434)"

This reverts commit 309129f651.
This commit is contained in:
Carlo Sala 2024-05-22 09:15:11 +02:00
parent bbfb985359
commit c77a01dbe2
No known key found for this signature in database
GPG Key ID: DA6FB450C1A4FE9A

View File

@ -227,14 +227,6 @@ prompt_virtualenv() {
fi
}
# Conda Virtualenv
prompt_conda_virtualenv() {
if [[ -n $CONDA_PROMPT_MODIFIER ]]; then
prompt_segment black default ${CONDA_PROMPT_MODIFIER:1:-2}
fi
}
# Status:
# - was there an error
# - am I root
@ -274,7 +266,6 @@ build_prompt() {
prompt_bzr
prompt_hg
prompt_end
prompt_conda_virtualenv
}
PROMPT='%{%f%b%k%}$(build_prompt) '