Zsh completion not working

I went through the initial zsh configuration and selected the default completion system. However it does not work - nothing happens when I press Tab. The error I got at the end of configuration and which I get every time I start zsh is compinit:/home/jaro/.zcompdump:480: not enough arguments
When I deleted /home/jaro/.zcompdump file and restarted zsh I got segmentation fault (core dumped) error as soon as I pressed Tab while typing a command. When I restarted zsh after the crash I got compinit:/home/jaro/.zcompdump:480: not enough arguments error again.
How can I fix it?

Over my head. If you don’t get an answer here then go where developers are and ask. That would be on Cooker mailing list or #openmandriva-cooker on Freenonode IRC. More details here.

For everyone there isn’t really any activity on #openmandriva all discussion about OpenMandriva on IRC takes place @ #openmandriva-cooker at this time.

I have looked into this further and have confirmed the problem.
I built zsh-5.3 locally and ran that and it does not segfault so I’m updating the package. I’ll let you know when the new one is available.
Colin

New version now in testing repo. Should be fine now.
Colin

1 Like

Apologies for a stupid question (I’m new to RPM-based distro) but how can I install a package from the testing repository? I’ve added the testing repository as described on QA/Getting Started - Wiki [en] OpenMandriva then tried $ sudo urpmi --media Main_Testing zsh which returns that there’s no package named zsh. I guess the package list is from yesterday: 20170425-081801-files.xml.lzma.
I’ve downloaded and installed the package from https://abf.openmandriva.org/build_lists/105714 but I still would like to know how to do it in the future from the terminal. Anyway, so far so good, seems to be working fine. Thank you!

Check and see if you installed 2014 repo instead of Lx 3.0 repo:

urpmi.addmedia Main_Testing http://abf-downloads.openmandriva.org/openmandriva2014.0/repository/$ARCH/main/testing/

for Lx 3 64 bit:
urpmi.addmedia Main_Testing http://abf-downloads.openmandriva.org/3.0/repository/x86_64/main/testing/

Edit: There is a zsh 5.3.1 package there. Dated from today.

zsh-5.3.1-1-omv2015.0.x86_64.rpm
zsh-curl-7.54.0-1-omv2015.0.x86_64.rpm
zsh-debuginfo-5.3.1-1-omv2015.0.x86_64.rpm
zsh-doc-5.3.1-1-omv2015.0.x86_64.rpm

1 Like

And please let me know if that was the problem.

Yes, indeed, I added 2014 repo instead of Lx 3 as that’s what the wiki linked to. Thank you.

Hi jaro,
Couple of things.

  1. It may not have propagated to the mirrors yet.
  2. You might want to run urpmi.update -a to update your local repository files.
    I know it’s there in the primary miroor because I can see it.
    Best,
    Colin

Hi Colin,

I have already installed it and it’s been working flawlessly so far. Thank you for your assistance.

Jaro