1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-13 17:23:55 +08:00
ohmyzsh/plugins/gitfast/gitfast.plugin.zsh
Felipe Contreras 5a11228e93 Add gifast plugin
Using the upstream git completion and prompt stuff.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-22 17:45:37 +01:00

8 lines
201 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_SUFFIX//\%/%%}"
}