* Re: Bug#607603: zsh: Completion of fuser command does not detect psmisc version
[not found] <20101220050442.GA26195@andrew.cmu.edu>
@ 2010-12-25 15:22 ` Clint Adams
2011-01-02 16:17 ` gi1242+debianbugs
0 siblings, 1 reply; 4+ messages in thread
From: Clint Adams @ 2010-12-25 15:22 UTC (permalink / raw)
To: gi1242+debianbugs, 607603; +Cc: zsh-workers
On Mon, Dec 20, 2010 at 12:04:44AM -0500, gi1242+debianbugs@gmail.com wrote:
> The completion function for fuser tries to determine if fuser is
> provided by PSmisc, or other the (less functional) generic Unix version.
> It decides by checking the output of "fuser -V" for psmisc. However it
> does not use case insensitive matching, so the test fails on my system
> (even though my fuser is provided by psmisc).
>
> Changing line 6 in
>
> /usr/share/zsh/functions/Completion/Unix/_fuser
>
> from
>
> if _pick_variant -c $words[1] psmisc=psmisc unix -V; then
>
> to
>
> if _pick_variant -c $words[1] psmisc='(#i)psmisc' unix -V; then
>
> fixes the problem.
Thanks.
Index: Completion/Unix/Command/_fuser
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_fuser,v
retrieving revision 1.4
diff -u -r1.4 _fuser
--- Completion/Unix/Command/_fuser 1 Apr 2005 19:49:40 -0000 1.4
+++ Completion/Unix/Command/_fuser 25 Dec 2010 15:16:51 -0000
@@ -3,7 +3,7 @@
local -a args arg1
typeset -A opt_args
-if _pick_variant -c $words[1] psmisc=psmisc unix -V; then
+if _pick_variant -c $words[1] psmisc='#(i)psmisc' unix -V; then
(( $+functions[_fuser_services] )) ||
_fuser_services() {
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#607603: zsh: Completion of fuser command does not detect psmisc version
2010-12-25 15:22 ` Bug#607603: zsh: Completion of fuser command does not detect psmisc version Clint Adams
@ 2011-01-02 16:17 ` gi1242+debianbugs
2011-01-02 19:32 ` Bart Schaefer
2011-01-16 15:18 ` Clint Adams
0 siblings, 2 replies; 4+ messages in thread
From: gi1242+debianbugs @ 2011-01-02 16:17 UTC (permalink / raw)
To: Clint Adams, 607603, zsh-workers
Hi Clint,
Looks like there's a typo in your patch below:
> -if _pick_variant -c $words[1] psmisc=psmisc unix -V; then
> +if _pick_variant -c $words[1] psmisc='#(i)psmisc' unix -V; then
Should be '(#i)...' not '#(i)...' right?
Thanks,
GI
PS: I started using zsh 2 weeks ago. It is *AWESOME*, thanks a TON. I'm
migrating my custom completions over from tcsh, and have a few new
zsh completions, and corrections to old completions to contribute.
What is the best way to post them? Debian bugzilla, or the mailing
list?
--
The short fortuneteller who escaped from prison was a small medium at
large.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#607603: zsh: Completion of fuser command does not detect psmisc version
2011-01-02 16:17 ` gi1242+debianbugs
@ 2011-01-02 19:32 ` Bart Schaefer
2011-01-16 15:18 ` Clint Adams
1 sibling, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2011-01-02 19:32 UTC (permalink / raw)
To: gi1242+debianbugs, zsh-workers
On Jan 2, 11:17am, gi1242+debianbugs@gmail.com wrote:
}
} PS: I started using zsh 2 weeks ago. It is *AWESOME*, thanks a TON. I'm
} migrating my custom completions over from tcsh, and have a few new
} zsh completions, and corrections to old completions to contribute.
} What is the best way to post them? Debian bugzilla, or the mailing
} list?
The zsh project isn't associated with Debian except via Clint, so one
of the zsh mailing lists is definitely the way to go.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#607603: zsh: Completion of fuser command does not detect psmisc version
2011-01-02 16:17 ` gi1242+debianbugs
2011-01-02 19:32 ` Bart Schaefer
@ 2011-01-16 15:18 ` Clint Adams
1 sibling, 0 replies; 4+ messages in thread
From: Clint Adams @ 2011-01-16 15:18 UTC (permalink / raw)
To: gi1242+debianbugs, 607603; +Cc: zsh-workers
On Sun, Jan 02, 2011 at 11:17:06AM -0500, gi1242+debianbugs@gmail.com wrote:
> Should be '(#i)...' not '#(i)...' right?
Ugh, yes, sorry. Fixed in CVS.
> PS: I started using zsh 2 weeks ago. It is *AWESOME*, thanks a TON. I'm
> migrating my custom completions over from tcsh, and have a few new
> zsh completions, and corrections to old completions to contribute.
> What is the best way to post them? Debian bugzilla, or the mailing
> list?
Given how negligent I've been lately, I would suggest zsh-workers.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-16 15:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20101220050442.GA26195@andrew.cmu.edu>
2010-12-25 15:22 ` Bug#607603: zsh: Completion of fuser command does not detect psmisc version Clint Adams
2011-01-02 16:17 ` gi1242+debianbugs
2011-01-02 19:32 ` Bart Schaefer
2011-01-16 15:18 ` Clint Adams
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).