mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 07:43:31 +01:00
Update themes/agnoster.zsh-theme
Change conda execution to env variable to improve performance. Co-Authored-By: Avraham Shukron <avrahamshukron@users.noreply.github.com>
This commit is contained in:
parent
e501f8aace
commit
2422635513
@ -204,8 +204,7 @@ prompt_virtualenv() {
|
||||
prompt_conda() {
|
||||
local conda_env="$CONDA_DEFAULT_ENV"
|
||||
if [[ -n $conda_env ]]; then
|
||||
local conda_changeps1="`conda config --show changeps1`"
|
||||
if [[ $conda_changeps1 == "changeps1: False" && $conda_env != "base" ]]; then
|
||||
if [[ -z $CONDA_PROMPT_MODIFIER ]]; then
|
||||
prompt_segment blue black "($CONDA_DEFAULT_ENV)"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user