From 0daa59883249c1d9fca2f33ba52b845f277cb45e Mon Sep 17 00:00:00 2001 From: djr-jsr Date: Sun, 3 Apr 2016 14:57:04 +0530 Subject: [PATCH] Virtualenv support in prompt of bira theme --- themes/bira.zsh-theme | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme index 1ead93553..4d259f74b 100644 --- a/themes/bira.zsh-theme +++ b/themes/bira.zsh-theme @@ -18,10 +18,14 @@ else fi fi local git_branch='$(git_prompt_info)%{$reset_color%}' +local venv_prompt='$(virtualenv_prompt_info)%{$reset_color%}' -PROMPT="╭─${user_host} ${current_dir} ${rvm_ruby} ${git_branch} +PROMPT="╭─${venv_prompt} ${user_host} ${current_dir} ${rvm_ruby} ${git_branch} ╰─%B$%b " RPS1="${return_code}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" + +ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="%{$fg[green]%}‹" +ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="› %{$reset_color%}" \ No newline at end of file