local -i i
# printf is for readability (it's easier to find %s)
- msg="(%s)-[%s/%s"
+ msg="(%s)${MINUS_CHAR}[%s/%s"
msg=$(printf $msg $vcs ${base/*\/} $branch)
# If there is a revnumber, print it
msg="${msg}|%s"
msg=$(printf $msg $action)
fi
- msg="${msg}]-"
+ msg="${msg}]${MINUS_CHAR}"
msgs[1]=$msg
# Same shit with colors
- msg="${nocolor_prompt}${vcs_symbols_color}(${vcs_type_color}%s${vcs_symbols_color})${vcs_sep_color}-${vcs_symbols_color}[${vcs_repo_color}%s${vcs_sep_color}/${vcs_branch_color}%s"
+ msg="${nocolor_prompt}${vcs_symbols_color}(${vcs_type_color}%s${vcs_symbols_color})${vcs_sep_color}${MINUS_CHAR}${vcs_symbols_color}[${vcs_repo_color}%s${vcs_sep_color}/${vcs_branch_color}%s"
msg=$(printf $msg $vcs ${base/*\/} $branch)
if [ ! -z ${rev} ]; then
msg="${msg}${vcs_colon_color}:${vcs_rev_color}%s"
msg="${msg}${nocolor_prompt}|${vcs_action_color}%s"
msg=$(printf $msg $action)
fi
- msg="${msg}${vcs_symbols_color}]${nocolor_prompt}-"
+ msg="${msg}${vcs_symbols_color}]${nocolor_prompt}${MINUS_CHAR}"
msgs[0]=$msg
return 0