Slightly patched oh-my-zsh tree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

5 lines
149 B

function git_fetch_on_chpwd {
([[ -d .git ]] && git fetch --all &>! ./.git/FETCH_LOG &)
}
chpwd_functions+=(git_fetch_on_chpwd)
git_fetch_on_chpwd