mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
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//\%/%%}"
|
|
}
|