From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: Completion of prefix redirections is -command- instead of -redirect-
Date: Thu, 27 Aug 2015 09:47:24 -0700 [thread overview]
Message-ID: <150827094724.ZM1120@torch.brasslantern.com> (raw)
In-Reply-To: <CAHYJk3S-bxFAW5Aoi4osmHC6Mp0=VSUkwkOba73fLO8xx358mw@mail.gmail.com>
On Aug 27, 8:22am, Mikael Magnusson wrote:
} Subject: Re: Completion of prefix redirections is -command- instead of -re
}
} When I try this patch, I get all my previous cases right except the
} one you mentioned, but also
} ; < : <tab>
} completes files instead of commands now (before, it completed commands
} both with and without the : there, so not more correct in total).
It thinks ":" IS the command.
torch% ; < ls
tags in context :completion::complete:ls::
argument-rest options (_arguments _ls)
tags in context :completion::complete:ls:argument-rest:
globbed-files (_files _arguments _ls)
(The context for the ":" command is not ideal either since ":" is the
field separator ...)
} PS
} If anyone can get
} for (a b) {<tab>
} to complete commands, that would be nice too :). (this never worked)
I presume you mean without the parens around "a b"? Otherwise it's not
valid syntax.
As PWS said, this is really a job for a state machine ... and not for a
hack this close to a release if it's something that hasn't ever worked.
next prev parent reply other threads:[~2015-08-27 16:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 5:39 Daniel Shahaf
2015-08-26 18:18 ` Bart Schaefer
2015-08-27 0:16 ` Mikael Magnusson
2015-08-27 4:35 ` Bart Schaefer
2015-08-27 4:47 ` Bart Schaefer
2015-08-27 4:54 ` Mikael Magnusson
2015-08-27 5:14 ` Bart Schaefer
2015-08-27 6:22 ` Mikael Magnusson
2015-08-27 16:47 ` Bart Schaefer [this message]
2015-08-27 18:54 ` Mikael Magnusson
2015-08-27 19:00 ` Mikael Magnusson
2015-08-27 23:20 ` Bart Schaefer
2015-08-27 8:42 ` 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=150827094724.ZM1120@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).