fix(git-auto-fetch): don't override native stat command (#11068)

This commit is contained in:
Felix Stupp 2022-07-27 16:07:53 +00:00 committed by GitHub
parent af2daa7ab7
commit 8362ae285a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,8 @@
: ${GIT_AUTO_FETCH_INTERVAL:=60} : ${GIT_AUTO_FETCH_INTERVAL:=60}
# Necessary for the git-fetch-all function # 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 { function git-fetch-all {
( (