when i try to complete beets command using zsh command i keep seeing _beet:zregexparse:4: invalid regex : )
I'm running into the same issue i previously documented here:
https://github.com/beetbox/beets/issues/3546
except this time i'm running into the problem on the latest Ubuntu LTS
ubuntu 20.04 (Focal Fossa)
oh-my-zsh
zsh 5.8 (x86_64-ubuntu-linux-gnu)
beets
beets version 1.4.9
Python version 3.8.2
plugins: no plugins
Can anyone confirm that this is working under Ubuntu 20.04
Hello! That's too bad. I unfortunately do not have the excuse to root-cause this, but I will try pinging @vapniks (the author) again.
I can confirm, this is a bug right now. I can look into it but I am no expert when it comes to zsh scripts...
edit: Nope, I'm gonna leave it up to the creator because this is regex hell :rofl: Sorry I can't help more.
My mind is stuck in the world of scheme macros at the moment. When I get an opportunity to make some thinking space for that old zsh completion code I'll have a look, but that may be some time. In case anyone else wants to have a go here are some notes I wrote about how to write zsh completions: https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org
I'll take a read of that one and see if I can come up with anything. Thanks for the documentation!
@jef The problem is probably somewhere among completion cacheing code, but that's just a guess.
It may also be due to an incompatibility with new releases of zsh. It works for me with zsh version 5.4.2, but I haven't tried more recent versions: http://zsh.sourceforge.net/releases.html
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Looks like this issue exists with the 1.4.9 release once i updated to 1.5.0 it disappeared.
Most helpful comment
My mind is stuck in the world of scheme macros at the moment. When I get an opportunity to make some thinking space for that old zsh completion code I'll have a look, but that may be some time. In case anyone else wants to have a go here are some notes I wrote about how to write zsh completions: https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org