[pacman-dev] [PATCH] Update zsh completion.

Xavier shiningxc at gmail.com
Wed Dec 5 12:57:20 EST 2007

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

compdef pacman pacman.static=pacman

The completion available by default seem to work correctly, eg mplayer, ssh,
But that custom pacman one never works, it only wants to complete with the
files in the CWD.
Also, I didn't have any problem getting it to work the first time, so I have
no idea what's wrong. I don't know how to get more informations about the
problem either.

More information about the pacman-dev mailing list