* accept-exact-dirs needs accept-exact to be set to true? @ 2010-05-30 15:51 ` Gowtham M 2010-05-30 18:09 ` Peter Stephenson 0 siblings, 1 reply; 2+ messages in thread From: Gowtham M @ 2010-05-30 15:51 UTC (permalink / raw) To: zsh-users [-- Attachment #1: Type: text/plain, Size: 468 bytes --] Hello, When zsh attempts completion on /usr/bin/, I do not want it to look for matches for /usr. Hence, I set accept-exact-dirs to true. Next, when completing $foo, I want zsh to list the ambiguous matches (like $foo, $foobar etc.). So, I set accept-exact to false. However, it appears that accept-exact should be true for accept-exact-dirs to work. Anything I can do to make it work? Or did I miss anything here? I am using 4.3.10 Thanks for your time. - Gowtham ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: accept-exact-dirs needs accept-exact to be set to true? 2010-05-30 15:51 ` accept-exact-dirs needs accept-exact to be set to true? Gowtham M @ 2010-05-30 18:09 ` Peter Stephenson 0 siblings, 0 replies; 2+ messages in thread From: Peter Stephenson @ 2010-05-30 18:09 UTC (permalink / raw) To: zsh-users Gowtham M wrote: > However, it appears that accept-exact should be true for accept-exact-dirs > to work. No, they're unrelated. They're not actually handled together: the latter is handled in shell code by looping over prefixes of the directory where you're completing, the latter in the special compfiles builtin. All that should be invisible to you, the point is there is no direct linkage between them. -- Peter Stephenson <p.w.stephenson@ntlworld.com> Web page now at http://homepage.ntlworld.com/p.w.stephenson/ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-30 18:10 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <gowthamgowtham@gmail.com> 2010-05-30 15:51 ` accept-exact-dirs needs accept-exact to be set to true? Gowtham M 2010-05-30 18:09 ` Peter Stephenson
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).