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

master
Felix Stupp 4 years ago committed by GitHub
parent af2daa7ab7
commit 8362ae285a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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 {
(

Loading…
Cancel
Save