Trying to implement my own flag completion for java I broke the existing one. :-)
What I've done is (among others for sure)
autoload calls, to see if my module worked. I think it changed the order of loading autocompletion modules.
So, how to bring it back the way it was? Because previously _java was loaded first, now it's _java_class and I prefer the other way around. :-)
Files in question are both in standard Unix completion:
➜ ~ ll /usr/share/zsh/functions/Completion/Unix/_java* [% 16:39:51] -rw-r--r-- 1 root root 25K lut 7 2016 /usr/share/zsh/functions/Completion/Unix/_java -rw-r--r-- 1 root root 693 lut 7 2016 /usr/share/zsh/functions/Completion/Unix/_java_class
Ubuntu 16.04. I'm using oh-my-zsh but I think it's zsh only, since I've not played around with oh-my-zsh here but with
$fpath (just through export, so for one session) and