ohmyzsh/plugins/gitfast/gitfast.plugin.zsh
Mark Probst c49fa23831 Insert ZSH_THEME_GIT_PROMPT_CLEAN into gitfast's prompt.
Otherwise we're missing a closing paren in the prompt, at least on
robbyrussel theme.
2013-02-21 11:11:38 -08:00

7 lines
237 B
Bash

dir=$(dirname $0)
source $dir/../git/git.plugin.zsh
source $dir/git-prompt.sh
function git_prompt_info() {
__git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${ZSH_THEME_GIT_PROMPT_CLEAN//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
}