Open jnunderwood opened 5 years ago
I can confirm this problem.
I'm a bit puzzled what the (^.git) is meant to do?
^.git would mean match anything but .git but what are the () for ? In addition in my install there is not $HOME/.zgen/.git directory.
After using the following function manually i got a lot of updates but the "no match found" is still there!
zgen-update-old () {
for repo in "${ZGEN_DIR}"/*/*
do
-zgpute "Updating '${repo}' ..."
(
cd "${repo}" && git pull && git submodule update --init --recursive
)
done
zgen-reset
}
Hi
i figured it out myself after running zgen selfupdate it pulled updates for zgen and worked again. This is explained in the commit msg.
commit f0034837e3044192991213ee708c67dfa6182f8f
Author: David Pärsson <david@parsson.se>
Date: Sat Oct 20 11:10:56 2018 +0200
Enable extended_glob in zgen-update
The (^.git)/* glob will fail without it.
If you're landing here confused - it's possible that your shell is in bash instead of zsh which will give you the same error.
If that's the case when you launch the terminal macOS should give you the command to switch the shell to zsh and then things should work.
After the latest update,
zgen-update
fails with this error message:I think it may be in function
zgen-update()
, on line 218 ofzgen.zsh
, in commit 5999d9e from pull request #95 that caused this.Old code that works:
New code that may be broken: