Files
bash-it/themes/primer/primer.theme.bash
Yuhao Wu af96da5d11 Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
2016-07-07 17:13:00 +09:00

8 lines
261 B
Bash

#!/usr/bin/env bash
# based of the candy theme, but minimized by odbol
function prompt_command() {
PS1="${blue}\T ${reset_color}${white}\w${reset_color}$(scm_prompt_info)${blue}${bold_blue} ${reset_color} ";
}
safe_append_prompt_command prompt_command