Add virtual env support for elixr theme
parent
2043ef36ee
commit
e6d6b47abe
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue