zsh-users
 help / color / mirror / code / Atom feed
From: Francis GALIEGUE <francis@mandrakesoft.com>
To: zsh-users@sunsite.auc.dk
Subject: Re: Complete Filenames With Spaces...
Date: 12 Jan 2000 18:22:18 +0100	[thread overview]
Message-ID: <m3hfgjciid.fsf@toy.mandrakesoft.com> (raw)
In-Reply-To: Rafael Garcia's message of "Wed, 12 Jan 2000 17:38:32 +0100"

Rafael Garcia <rgarcia@eurielec.etsit.upm.es> writes:

> 	Hi, first time writing to the list (just subscribed)...
> 
> 	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.
> 
> 	Thanks.

The problem is that a space is an argument separator. What you suggest
is the Bad Way(tm). The Good Way(tm) is to isolate the space with a
backslash (as in a\ <TAB> which gives the expected result, a\ file) or
to use double quotes or single quotes ("a <TAB>, 'a <TAB>).

-- 
fg

# rm *;o
o: command not found


  reply	other threads:[~2000-01-12 17:41 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 [this message]
2000-01-12 18:36   ` Rafael Garcia
2000-01-12 17:26 ` Bart Schaefer
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=m3hfgjciid.fsf@toy.mandrakesoft.com \
    --to=francis@mandrakesoft.com \
    --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).