mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
added conda to bira enviroment
This commit is contained in:
parent
608d62b2a5
commit
3d6c513aa3
2 changed files with 12 additions and 1 deletions
|
|
@ -42,3 +42,12 @@ ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"
|
|||
function ruby_prompt_info() {
|
||||
echo "$(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info)"
|
||||
}
|
||||
|
||||
# use this to enable users to see their conda env info
|
||||
conda_prompt_info() {
|
||||
if [ -n "$CONDA_DEFAULT_ENV" ]; then
|
||||
echo -n "%{$terminfo[bold]$fg[yellow]%}($CONDA_DEFAULT_ENV) %{$reset_color%}"
|
||||
else
|
||||
echo -n ''
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue