From: stephen.talley@Central.Sun.COM (Steve Talley)
To: zsh-users@math.gatech.edu, pws@ifh.de
Subject: Re: Completion on word prefix only (tcsh-style)
Date: Thu, 19 Feb 1998 19:31:33 -0700 [thread overview]
Message-ID: <199802200231.TAA11243@empire.Central.Sun.COM> (raw)
> > Is there an option to force zsh to only look at a prefix on
> > completion? This seems to be the default in tcsh, but I can't get it
> > to work for zsh.
>
> The command is called expand-or-complete-prefix. If you bind it to
> tab, you will probably get something like tcsh behaviour.
This appeared to work initially, but now completion for "cd" doesn't
work beyond the first directory level:
With expand-or-complete-prefix:
% cd /etc/[TAB]
produces no matches.
With expand-or-complete, it works fine:
% cd /etc/[TAB]
acct/ fn/ lp/ rc2.d/ snmp/
cron.d/ fs/ mail/ rc3.d/ tm/
default/ http/ net/ rcS.d/ uucp/
dfs/ inet/ openwin/ saf/
dhcp/ init.d/ opt/ security/
dmi/ lib/ rc0.d/ skel/
dt/ log@ rc1.d/ ski/
I'm using the simple completion
compctl -g '*(-/)' cd
Is this a bug?
Thanks,
Steve
next reply other threads:[~1998-02-20 2:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-20 2:31 Steve Talley [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-02-18 22:55 Steve Talley
1998-02-19 8:50 ` 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=199802200231.TAA11243@empire.Central.Sun.COM \
--to=stephen.talley@central.sun.com \
--cc=pws@ifh.de \
--cc=zsh-users@math.gatech.edu \
/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).