zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk, Pierre Habouzit <madcoder@debian.org>
Subject: Re: Bug#430146: zsh: please add .ssh/config Hosts to the hosts zstyle completion
Date: Mon, 25 Jun 2007 10:32:21 -0400	[thread overview]
Message-ID: <20070625143221.GA27030@scowler.net> (raw)
In-Reply-To: <20070624194406.GA73513@redoubt.spodhuis.org>

On Sun, Jun 24, 2007 at 12:44:06PM -0700, Phil Pennock wrote:
> I think that:
>  ${=${${(M)${(f)"$(<~/.ssh/config)"}:#Host*}#Host }:#*\**}
> should be:
>  ${${=${(M)${(f)"$(<~/.ssh/config)"}:#Host*}#Host }:#*[\*\?]*}

> This splits on $IFS earlier so that the outer :# filter applies on a
> per-item basis instead of per-line, and adds '?' to the filter pattern.

That sounds good.  Is limiting it to ~/.ssh/config with a yes/no style
too inflexible?


  reply	other threads:[~2007-06-25 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070622180648.14337.68045.reportbug@localhost>
     [not found] ` <20070622211507.GA16349@scowler.net>
     [not found]   ` <20070622222216.GA9656@artemis.internal.dc7.debconf.org>
     [not found]     ` <20070623074721.GA28769@scowler.net>
     [not found]       ` <20070623113320.GA25562@artemis.internal.dc7.debconf.org>
2007-06-24 11:57         ` Clint Adams
2007-06-24 19:44           ` Phil Pennock
2007-06-25 14:32             ` Clint Adams [this message]
2007-06-25 15:19               ` 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=20070625143221.GA27030@scowler.net \
    --to=clint@zsh.org \
    --cc=madcoder@debian.org \
    --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).