gitfast.plugin.zsh 245 Bytes
Newer Older
Felipe Contreras's avatar
Felipe Contreras committed
1
2
3
4
5
dir=$(dirname $0)
source $dir/../git/git.plugin.zsh
source $dir/git-prompt.sh

function git_prompt_info() {
Felipe Contreras's avatar
Felipe Contreras committed
6
7
  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
8
}