From: Bart Schaefer <schaefer@brasslantern.com>
To: 458397@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#458397: zsh: completion does not succeed with a function named the same as a command
Date: Mon, 31 Dec 2007 13:51:27 -0800 [thread overview]
Message-ID: <071231135128.ZM1275@torch.brasslantern.com> (raw)
In-Reply-To: <20071231161151.GA1193@scowler.net>
On Dec 31, 11:11am, Clint Adams wrote:
} Subject: Re: Bug#458397: zsh: completion does not succeed with a function
}
} On Sun, Dec 30, 2007 at 11:48:45PM +0100, Adeodato Simó wrote:
} > <dato> Clint: if I have a zsh function with the same name as a binary in
} > PATH, completion does not work correctly: I can type up to the whole
} > name and press <tab>, and a space won't be added, it'll still offer the
} > two identical names for completion.
} >
} > I can reproduce with no zsh configuration files whatsoever.
}
} I could just be sleep-deprived, but this seems to be fine under 4.3.4
} and spaceless under 4.3.4-dev-6.
I am unable to reproduce this with 4.3.4-dev-6 on CentOS 4.6.
torch% whence -av gprof
gprof is a shell function
gprof is /usr/bin/gprof
torch% gpr<TAB>
torch% gprof
I get the trailing space, zsh -f both with and without compinit loaded.
I've also tried it with a command for which there is an explicit entry
in the $_comps hash; I still get the space added.
prev parent reply other threads:[~2007-12-31 21:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20071230224845.GA19875@chistera.yi.org>
2007-12-31 16:11 ` Clint Adams
2007-12-31 21:51 ` Bart Schaefer [this message]
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=071231135128.ZM1275@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=458397@bugs.debian.org \
--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).