summaryrefslogtreecommitdiff
path: root/plugins/git-auto-fetch
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2022-08-09 17:28:30 -0700
committerTuowen Zhao <ztuowen@gmail.com>2022-08-09 17:28:30 -0700
commit1a6dcd017dbf564058a729032de3db139fcf9c7e (patch)
treee8dad70ff1450f9d7ff9e76510304648108bee56 /plugins/git-auto-fetch
parent6e0a7765188ef970d738108d11eaecc7b79a5f5e (diff)
parent97134d1eed19b72a9c4bf90a2effa847221608bf (diff)
downloadzsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.gz
zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.bz2
zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.zip
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'plugins/git-auto-fetch')
-rw-r--r--plugins/git-auto-fetch/git-auto-fetch.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
index efe8cbe66..2e029639c 100644
--- a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
+++ b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
@@ -2,7 +2,8 @@
: ${GIT_AUTO_FETCH_INTERVAL:=60}
# Necessary for the git-fetch-all function
-zmodload zsh/datetime zsh/stat
+zmodload zsh/datetime
+zmodload -F zsh/stat b:zstat # only zstat command, not stat command
function git-fetch-all {
(