zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: Zsh fails when Globing fails
Date: Wed, 27 Jul 2005 10:49:55 +0100	[thread overview]
Message-ID: <27826.1122457795@csr.com> (raw)
In-Reply-To: <20050727094701.GA3627@lxlabs.com>

Ligesh wrote:
> Hey thanks a lot. Now that you have helped me, I am going to bother you with 
> one more question. What is the metacharacter that expands to the current list
>  of intelligent completions?  For instance, in cvs, I do cvs add <Tab>, it wi
> ll show the list of new files, but '*' still expands to all the files in the 
> directory. So is there a metacharacter that expands to the result of the inte
> lligent completion?

You can force the shell to use globbing characters to match the results
of completions by setting "setopt globcomplete".  Depending how completion
is set up, the shell may decided to perform expansion instead if there
are files that match.  For example, "cvs c*t<TAB>" might offer "commit"
or "checkout", but if there is a file config.txt you could get that instead.
It's possible to configure the shell not to do expansion, or alternatively
to use different keystrokes to do expansion and completion.

pws


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


  reply	other threads:[~2005-07-27  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27  9:47 Ligesh
2005-07-27  9:49 ` Peter Stephenson [this message]
2005-07-27 19:56 ` DervishD
     [not found] <1122445746.19346.ezmlm@sunsite.dk>
2005-07-27  7:19 ` Ligesh
2005-07-27  8:01   ` DervishD
2005-07-27  9:44   ` 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=27826.1122457795@csr.com \
    --to=pws@csr.com \
    --cc=zsh-users@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).