gitfast.plugin.zsh 245 B

12345678
  1. dir=$(dirname $0)
  2. source $dir/../git/git.plugin.zsh
  3. source $dir/git-prompt.sh
  4. function git_prompt_info() {
  5. dirty="$(parse_git_dirty)"
  6. __git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${dirty//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
  7. }