adding time to bobby
parent
2541ca965a
commit
39b5d0b042
|
|
@ -13,6 +13,8 @@ SCM_THEME_TAG_PREFIX='tag:'
|
|||
SCM_THEME_COMMIT_PREFIX='commit:'
|
||||
SCM_THEME_REMOTE_PREFIX=''
|
||||
|
||||
CLOCK_CHAR='☆'
|
||||
|
||||
SCM_GIT_SHOW_DETAILS=${SCM_GIT_SHOW_DETAILS:=true}
|
||||
|
||||
SCM_GIT='git'
|
||||
|
|
@ -291,6 +293,10 @@ function prompt_char {
|
|||
scm_char
|
||||
}
|
||||
|
||||
function clock_char {
|
||||
echo -e "$CLOCK_CHAR"
|
||||
}
|
||||
|
||||
if [ ! -e $BASH_IT/plugins/enabled/battery.plugin.bash ]; then
|
||||
# if user has installed battery plugin, skip this...
|
||||
function battery_charge (){
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ RVM_THEME_PROMPT_SUFFIX="|"
|
|||
|
||||
function prompt_command() {
|
||||
#PS1="${bold_cyan}$(scm_char)${green}$(scm_prompt_info)${purple}$(ruby_version_prompt) ${yellow}\h ${reset_color}in ${green}\w ${reset_color}\n${green}→${reset_color} "
|
||||
PS1="\n${yellow}$(ruby_version_prompt) ${purple}\h ${reset_color}in ${green}\w\n${bold_cyan}$(scm_char)${green}$(scm_prompt_info) ${green}→${reset_color} "
|
||||
PS1="\n${bold_cyan}\T ${red}$(clock_char) ${yellow}$(ruby_version_prompt) ${purple}\h ${reset_color}in ${green}\w\n${bold_cyan}$(scm_char)${green}$(scm_prompt_info) ${green}→${reset_color} "
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=prompt_command;
|
||||
|
|
|
|||
Loading…
Reference in New Issue