Merge pull request #1232 from penguin2048/master

Add virtual env support for elixr theme
This commit is contained in:
Nils Winkler
2018-09-11 08:04:26 +02:00
committed by GitHub

View File

@@ -17,7 +17,7 @@ RVM_THEME_PROMPT_SUFFIX=" d|"
BOLD="\[\e[1m\]"
function prompt_command() {
PS1="\n${bold_cyan}$(scm_prompt_char_info) ${bold_cyan}\w :${reset_color}${normal}${BOLD} "
PS1="\n${bold_cyan}$(scm_prompt_char_info)$(virtualenv_prompt) ${bold_cyan}\w :${reset_color}${normal}${BOLD} "
}
safe_append_prompt_command prompt_command