2019-04-08 20:06:17 +02:00
|
|
|
dir="${0:A:h}"
|
|
|
|
source "$dir/git-prompt.sh"
|
2012-11-22 17:38:39 +01:00
|
|
|
|
|
|
|
function git_prompt_info() {
|
2012-11-29 15:54:17 +01:00
|
|
|
dirty="$(parse_git_dirty)"
|
|
|
|
__git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${dirty//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
|
2012-11-22 17:38:39 +01:00
|
|
|
}
|
2019-04-08 20:06:17 +02:00
|
|
|
|
|
|
|
unset dir
|