mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Update themes/agnoster.zsh-theme
Change conda prompt format to "conda:$conda_env" Co-Authored-By: Avraham Shukron <avrahamshukron@users.noreply.github.com>
This commit is contained in:
parent
2422635513
commit
a6465f839f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ prompt_conda() {
|
||||||
local conda_env="$CONDA_DEFAULT_ENV"
|
local conda_env="$CONDA_DEFAULT_ENV"
|
||||||
if [[ -n $conda_env ]]; then
|
if [[ -n $conda_env ]]; then
|
||||||
if [[ -z $CONDA_PROMPT_MODIFIER ]]; then
|
if [[ -z $CONDA_PROMPT_MODIFIER ]]; then
|
||||||
prompt_segment blue black "($CONDA_DEFAULT_ENV)"
|
prompt_segment blue black "conda:$conda_env"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue