On Wed, Dec 05, 2007 at 06:57:20PM +0100, Xavier wrote:
On Wed, Dec 05, 2007 at 10:45:23AM -0500, Nathan Jones wrote:
Update zsh completion file to version 0.5-2 from AUR and add the new options in pacman 3.1.
That's great, but any ideas why zsh completion doesn't work anymore? I don't think I ever got it working again since I reinstalled a few months ago, yet I'm still using nearly the same .zshrc , and the zsh completion file is the one that was sitting in git. I also tried with your patch applied, but it didn't help.
I copied the file as /usr/share/zsh/site-functions/_pacman , and I have the following in .zshrc :
autoload -Uz compinit promptinit compinit promptinit
compdef pacman pacman.static=pacman
The compdef line should be unnecessary now, though it shouldn't hurt to have it. Try removing your ~/.zcompdump (a cache type file) and starting up a new zsh.