gitfast.plugin.zsh 221 Bytes
Newer Older
1
2
dir="${0:A:h}"
source "$dir/git-prompt.sh"
Felipe Contreras's avatar
Felipe Contreras committed
3
4

function git_prompt_info() {
Felipe Contreras's avatar
Felipe Contreras committed
5
6
  dirty="$(parse_git_dirty)"
  __git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${dirty//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
Felipe Contreras's avatar
Felipe Contreras committed
7
}
8
9

unset dir