mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-13 17:23:55 +08:00
5a11228e93
Using the upstream git completion and prompt stuff. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
8 lines
201 B
Bash
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//\%/%%}"
|
|
}
|