1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00: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:
John Pocock 2020-03-05 20:41:43 +00:00 committed by GitHub
parent 2422635513
commit a6465f839f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }