agkozak/zsh-z

Broken Tab Completion

rwtallant13 opened this issue · 2 comments

I think my tab completion is broken. Not sure if its a problem with my zsh config or some sort of bug/error.

zsh-z-tabcomplete

here is my .zshrc if you see something that might be causing it. https://termbin.com/zp1k

This one's a little difficult, isn't it? Could you try something for me? It seems to work for me.

Comment out

setopt complete_aliases

and change

autoload -Uz compinit && compinit -C -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION

to

autoload -U compinit && compinit

That fixed it for me, though I haven't had enough coffee yet to figure out why. If it works for you, we can try to figure out what's going wrong.

That fixed it for me too. I started messing around with it a bit and after deleting my old zcompdump and removing complete_aliases it seems to work fine now with the same autoload/compinit commands i was using before. Not exactly sure where the problem came from but it works now and that's good enough for me. Thanks