You are not logged in.

#1 2008-07-22 13:06:15

Marenz
Member
Registered: 2008-06-22
Posts: 48

Zsh autocempletiution takes forever

Hi there,

I had a nice zsh config under debian.
Now i tried to use the same config in arch linux, with the result that the auto-completition takes anything from 1 to 10 seconds, avr 2
After some investiagtion i found out that the lines

autoload -Uz compinit
compinit

in my ~/.zshrc cause this problem. The strange thing is, if i remove these lines and execute them in the shell, the problem is gone. or if I start zsh with the -f parameter and do
source ~/.zshrc it is also gone. The problem also does not appear in the root account (where it is part of the config too)

I asked in #zsh and they said it has to do with my global config (which is part of arch) the one that configs the starting of a shell. Not my home config

I appriciate any help smile

--Ano

Offline

#2 2008-07-22 21:14:25

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: Zsh autocempletiution takes forever

No problems here. Maybe strace zsh and watch where it hangs.

Offline

#3 2008-07-22 22:02:28

Marenz
Member
Registered: 2008-06-22
Posts: 48

Re: Zsh autocempletiution takes forever

i did. it hangs no where pretty long which is most likley because the text output of strace is slower then my problem.

--Ano

Offline

#4 2008-07-23 13:21:52

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: Zsh autocempletiution takes forever

So, Arch does nothing fancy with zsh. I don't have any global config files. Maybe post your strace output.

Offline

#5 2008-07-27 11:55:38

reztho
Member
Registered: 2007-12-16
Posts: 43

Re: Zsh autocempletiution takes forever

I had the same problem until i've made a symbolic link of /etc/profile to /etc/zprofile if i recall correctly.

Offline

Board footer

Powered by FluxBB