zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Rafael Garcia <rgarcia@eurielec.etsit.upm.es>, zsh-users@sunsite.auc.dk
Subject: Re: Complete Filenames With Spaces...
Date: Wed, 12 Jan 2000 17:26:42 +0000	[thread overview]
Message-ID: <1000112172642.ZM14208@candle.brasslantern.com> (raw)
In-Reply-To: <20000112173832.A21305@eurielec.eurielec.etsit.upm.es>

On Jan 12,  5:38pm, Rafael Garcia wrote:
} Subject: Complete Filenames With Spaces...
}
} 	I would like to know if there is *any* way to make zsh complete
} filenames that include spaces; that is, after a first completion up to a
} "with-spaces" point pressing <tab> completes nothing, while pressing <tab>
} if no spaces were in the previuos completion works perfectly.

It'd help to know whether you're using zsh-3.1.6 or later, or zsh-3.0.7 or
before.  It'd also help to see "ls" output or the like showing the names
that you expect to be completed.

Completion of a file with a space in the name should look someting like
this, where <TAB> indicates the point at which the TAB key is pressed:

zagzig[22] ls A<TAB>
zagzig[22] ls Adair\ County\ Brochure.doc 
                                          ^cursor here

Or if the completion is ambiguous:

zagzig[22] ls H<TAB>
zagzig[22] ls Historic\ Weddings<TAB>
zagzig[22] ls Historic\ Weddings          
Historic\ Weddings\ page\ 2.doc   Historic\ Weddings.doc 

The latter behavior assumes you have "autolist" and "listambiguous" set,
which is the case by default in 3.1.6 but not in 3.0.7.

(For those of you wondering why I have documents about historic Adair
County weddings lying around on my disk, it has to do with the B&B that
my mother runs back in Iowa.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  parent reply	other threads:[~2000-01-12 17:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-12 16:38 Rafael Garcia
2000-01-12 17:22 ` Francis GALIEGUE
2000-01-12 18:36   ` Rafael Garcia
2000-01-12 17:26 ` Bart Schaefer [this message]
2000-01-12 18:32   ` Rafael Garcia
2000-01-13  8:45     ` Rafael Garcia

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=1000112172642.ZM14208@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=rgarcia@eurielec.etsit.upm.es \
    --cc=zsh-users@sunsite.auc.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).