From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Re: How to complete a file name?
Date: Thu, 24 Jan 2008 11:56:04 +0000 (UTC) [thread overview]
Message-ID: <slrnfpgv6k.dvv.joerg@alea.gnuu.de> (raw)
In-Reply-To: <080123085740.ZM17413@torch.brasslantern.com>
Hallo Bart,
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Jan 23, 2:18pm, Peter Stephenson wrote:
> }
> } *Forced* filename completion is easy; you just bind it to another key.
> }
> } zle -C complete-filename complete-word _generic
> } zstyle ':completion:complete-filename:*' completer _files
> } bindkey '^xf' complete-filename
>
> Hmm. Why not just append _files to the completer style, so that file
> completion is always tried if everything else fails?
>
> In fact, why not this:
>
> _unquoted_files { compset -q; _files }
^
Here's () missing.
> zstyle ':completion:*' completer _oldlist _expand _complete \
> _match _ignored _approximate _prefix _files _unquoted_files
I fancy this idea.
Regards, Jörg.
--
Ein Optimist ist in der Regel ein Zeitgenosse, der ungenuegend informiert ist.
(John B. Priestley)
prev parent reply other threads:[~2008-01-24 12:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 16:38 Jörg Sommer
2008-01-22 0:48 ` Clint Adams
2008-01-23 13:08 ` Jörg Sommer
2008-01-23 14:18 ` Peter Stephenson
2008-01-23 15:14 ` Jörg Sommer
2008-01-23 16:17 ` Bart Schaefer
2008-01-23 16:57 ` Bart Schaefer
2008-01-24 11:56 ` Jörg Sommer [this message]
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=slrnfpgv6k.dvv.joerg@alea.gnuu.de \
--to=joerg@alea.gnuu.de \
--cc=zsh-workers@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).