mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge 40b7eb9963 into 2239035368
This commit is contained in:
commit
4a92c8a7ed
1 changed files with 7 additions and 4 deletions
|
|
@ -1,7 +1,10 @@
|
|||
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//\%/%%}"
|
||||
}
|
||||
if [ -z "$GITFAST_USE_OHMYZSH_PROMPT" ]; then
|
||||
source $dir/git-prompt.sh
|
||||
|
||||
function git_prompt_info() {
|
||||
__git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
|
||||
}
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue