Commits

MrTux Hdb committed ebf4441

Add virtualenv on prompt

  • Participants
  • Parent commits 9c4dc85

Comments (0)

Files changed (1)

zsh/mrtux.zsh-theme

   fi
 fi
 
+# virtualenv_python
+local virtualenv_python='venv:%{$fg[red]%}‹$(virtualenv_prompt_info)›%{$reset_color%}'
+
 ZSH_THEME_GIT_PROMPT_PREFIX=" ☁  %{$fg[red]%}"
 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%} ☂" # Ⓓ
 }
 
 # The prompt
-PROMPT="╭─$(ssh_connection)${user_host} ${current_dir} ${rvm_ruby}
+PROMPT="╭─$(ssh_connection)${user_host} ${current_dir} ${rvm_ruby} ${virtualenv_python}
 ╰─%B➤%b "
 
 # The right-hand prompt