summaryrefslogtreecommitdiff
path: root/plugins/git-auto-fetch
diff options
context:
space:
mode:
authorFelix Stupp <me+github@banananet.work>2022-07-27 16:07:53 +0000
committerGitHub <noreply@github.com>2022-07-27 18:07:53 +0200
commit8362ae285a5c227cb20387543483a3597fa31931 (patch)
treecd7bba18d8ec91bcec1c576cddfe33f19e155d8b /plugins/git-auto-fetch
parentaf2daa7ab7dde3674f4861ef684773410b9cccd4 (diff)
downloadzsh-8362ae285a5c227cb20387543483a3597fa31931.tar.gz
zsh-8362ae285a5c227cb20387543483a3597fa31931.tar.bz2
zsh-8362ae285a5c227cb20387543483a3597fa31931.zip
fix(git-auto-fetch): don't override native `stat` command (#11068)
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 {
(