Ohmyzsh: Problem with zsh version 5.3.1

Created on 26 Dec 2016  ·  3Comments  ·  Source: ohmyzsh/ohmyzsh

Arch Linux has upgraded zsh to version 5.3.1 recently.
A directory problem:

_systemctl_startable_units:4: failed to load module `zsh/regex': /usr/lib/zsh/5.3/zsh/regex.so: cannot open shared object file: No such file or directory
_systemctl_startable_units:4: -regex-match not available for regex

ln -s /usr/lib/zsh/5.3.1 /usr/lib/zsh/5.3 is my temporary fix.

Most helpful comment

Problem solved on OSX by doing this:

rm -f ~/.zcompdump*

Then restarting the terminal.

For the gradle autocompletion to work again, I had to delete the .gradletasknamecache file in the respective gradle directories.

Solution found on stackoverflow, instant upvote ;)

All 3 comments

I have this problem too, but on OSX.

Recently upgraded to 5.3.1 using brew and this error started popping up.

zsh --version
zsh 5.3.1 (x86_64-apple-darwin15.6.0)

When trying to use the diff command and pressing , this happens:

(eval):1: _diff: function definition file not found

Problem solved on OSX by doing this:

rm -f ~/.zcompdump*

Then restarting the terminal.

For the gradle autocompletion to work again, I had to delete the .gradletasknamecache file in the respective gradle directories.

Solution found on stackoverflow, instant upvote ;)

The solution provided by bes worked for me after the upgrade to zsh 5.4.2 on archlinux.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thienedits picture thienedits  ·  3Comments

nimmoadam picture nimmoadam  ·  3Comments

samsondav picture samsondav  ·  3Comments

dariye picture dariye  ·  3Comments

leongaban picture leongaban  ·  3Comments