Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: functions/Completion/Linux/_modutils
- X-seq: zsh-workers 25030
- From: sergio <zsh@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: functions/Completion/Linux/_modutils
- Date: Wed, 14 May 2008 19:56:58 +0400
- In-reply-to: <20080514161834.0b96c7ac@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <4829BF7A.20203@xxxxxxxxxxxxx> <080513201714.ZM10079@xxxxxxxxxxxxxxxxxxxxxx> <482AF445.3080909@xxxxxxxxxxxxx> <20080514161834.0b96c7ac@news01>
Peter Stephenson wrote:
> Shouldn't the fix be something like this?
> $(path=($path /sbin)
hmm..
in root's path /sbin states before /bin
so if i have two modprobes (in /bin and in /sbin) zsh will list modules
with /bin/modprobe, while /sbin/modprobe will really executed by sudo
i can't find any logic where zsh search command to complete after sudo
(when i type sudo <TAB>)
may be it will be more correctly to make some changes in sudo completion?
> By the way, isn't that "_files" completion three lines below screwy?
> Shouldn't it be looking for .ko files (or possibly .o files depending on
> the version)?
I'm newbie in zsh ): I don't understand this lines..
--
sergio
Messages sorted by:
Reverse Date,
Date,
Thread,
Author