gitfast.plugin.zsh 221 B

123456789
  1. dir="${0:A:h}"
  2. source "$dir/git-prompt.sh"
  3. function git_prompt_info() {
  4. dirty="$(parse_git_dirty)"
  5. __git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${dirty//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
  6. }
  7. unset dir