From: sergio <zsh@sergio.spb.ru>
To: zsh-workers@sunsite.dk
Subject: Re: functions/Completion/Linux/_modutils
Date: Wed, 14 May 2008 19:56:58 +0400 [thread overview]
Message-ID: <482B0BCA.9010207@sergio.spb.ru> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2008-05-14 15:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 16:19 functions/Completion/Linux/_modutils sergio
2008-05-14 3:17 ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-14 14:16 ` functions/Completion/Linux/_modutils sergio
2008-05-14 15:18 ` functions/Completion/Linux/_modutils Peter Stephenson
2008-05-14 15:56 ` sergio [this message]
2008-05-14 15:55 ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-14 16:19 ` functions/Completion/Linux/_modutils sergio
2008-05-14 16:40 ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-15 12:16 ` functions/Completion/Linux/_modutils Clint Adams
2008-05-15 16:58 ` functions/Completion/Linux/_modutils Bart Schaefer
2008-05-15 17:00 ` functions/Completion/Linux/_modutils Peter Stephenson
2008-05-16 9:26 ` functions/Completion/Linux/_modutils Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482B0BCA.9010207@sergio.spb.ru \
--to=zsh@sergio.spb.ru \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).