mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 08:10:08 +00: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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue