Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manjaro zsh python-argcomplete error after update

Tags:

zsh

manjaro

After recently updating my system after a while I noticed my zsh terminal wasn't working properly. When I try tab completing it gave

(eval):1: _python-argcomplete: function definition file not found
(eval):1: _python-argcomplete: function definition file not found
(eval):1: _python-argcomplete: function definition file not found

I do not have any extra configuration, only the default manjaro zsh configs. My $fpath and $FPATH variables seem to be working as expected.

like image 736
FluffyDango Avatar asked Mar 18 '26 09:03

FluffyDango


1 Answers

Fix:

activate-global-python-argcomplete

More details

I found that in manjaro zsh config /usr/share/zsh/manjaro-zsh-config, this line causes the problem:

compinit -d

If the above fix does not help, try commenting out this line or removing ~/.zcompdump.

The fix originated from this stackoverflow answer.

like image 97
FluffyDango Avatar answered Mar 20 '26 21:03

FluffyDango



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!