mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-14 08:58:44 +02:00
gitfast: update to upstream v2.21 (#7914)
* gitfast: use $OSTYPE again
In the last update to upstream this was reverted:
a56eac7a
(Use OSTYPE instead of uname whenever possible for better speed. (#5496))
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: simplify plugin
No need to set and unset a variable we use once.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: add script to update from upstream
This would make easier the process of updating, and also not miss our
patches.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* gitfast: update to upstream v2.21
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
committed by
Marc Cornellà
parent
52fdae4b3d
commit
eb3d463081
@ -1,9 +1,6 @@
|
||||
dir="${0:A:h}"
|
||||
source "$dir/git-prompt.sh"
|
||||
source "${0:A:h}/git-prompt.sh"
|
||||
|
||||
function git_prompt_info() {
|
||||
dirty="$(parse_git_dirty)"
|
||||
__git_ps1 "${ZSH_THEME_GIT_PROMPT_PREFIX//\%/%%}%s${dirty//\%/%%}${ZSH_THEME_GIT_PROMPT_SUFFIX//\%/%%}"
|
||||
}
|
||||
|
||||
unset dir
|
||||
|
Reference in New Issue
Block a user