You are not logged in.

#1 2007-11-24 09:36:41

CuleX
Member
Registered: 2007-09-15
Posts: 107

ZSH pacman completion

Hello

I'm a new ZSH user, impressed by the completion possibilities. But, there's no completion function for pacman, so i desire to write one my own. It's especially needed for the -Q options.

State of the moment:
http://pastebin.archlinux.org/19965

I've two problems with it:
How can i write completion for things like -Ss -Sy -Ql -Qs...
And why are the other options still displayed, if i typed -S already?

Very much thanks

Offline

#2 2007-11-24 09:58:19

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: ZSH pacman completion

there is: in AUR


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-11-24 11:42:29

CuleX
Member
Registered: 2007-09-15
Posts: 107

Re: ZSH pacman completion

Oh... Whoops...

Sorry hmm Anyway, big thanks!

Offline

Board footer

Powered by FluxBB