diff options
author | Felix Stupp <me+github@banananet.work> | 2022-07-27 16:07:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 18:07:53 +0200 |
commit | 8362ae285a5c227cb20387543483a3597fa31931 (patch) | |
tree | cd7bba18d8ec91bcec1c576cddfe33f19e155d8b | |
parent | af2daa7ab7dde3674f4861ef684773410b9cccd4 (diff) | |
download | zsh-8362ae285a5c227cb20387543483a3597fa31931.tar.gz zsh-8362ae285a5c227cb20387543483a3597fa31931.tar.bz2 zsh-8362ae285a5c227cb20387543483a3597fa31931.zip |
fix(git-auto-fetch): don't override native `stat` command (#11068)
-rw-r--r-- | plugins/git-auto-fetch/git-auto-fetch.plugin.zsh | 3 |
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 { ( |