main/apk-tools: fix zsh completion pkgver handling
Currently completion fails to strip *_git*
from package name when
searching for available/installed packages. This fixes such behavior.
I tried to understand how that expression works, but failed. The "fix" is found by randomly trying some changes.
fixes #13740 (closed)
Edited by Ghost User