Merge f55344334c into 6dad2afa4e
commit
55dd367678
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SCM_THEME_PROMPT_DIRTY=" ${red}*"
|
||||
SCM_THEME_PROMPT_CLEAN=""
|
||||
SCM_THEME_PROMPT_PREFIX=" ["
|
||||
SCM_THEME_PROMPT_SUFFIX="${green}]"
|
||||
|
||||
GIT_THEME_PROMPT_DIRTY=" ${red}*"
|
||||
GIT_THEME_PROMPT_CLEAN=""
|
||||
GIT_THEME_PROMPT_PREFIX=" ${green}["
|
||||
GIT_THEME_PROMPT_SUFFIX="${green}]"
|
||||
|
||||
function prompt_command() {
|
||||
PS1="${bold_green}\u@\h ${bold_blue}[\T] ${reset_color}$(color reset white)[\w]${reset_color}$(scm_prompt_info)${reset_color}\n${blue}-> ${bold_blue}% ${reset_color}";
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=prompt_command;
|
||||
Loading…
Reference in New Issue