1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

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 {
( (