zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: bug in 'rm' completion
Date: Wed, 11 Nov 2009 20:21:17 -0800	[thread overview]
Message-ID: <091111202117.ZM30768@torch.brasslantern.com> (raw)
In-Reply-To: <m3d43omp9r.fsf@klanderman.net>

On Nov 11,  9:48pm, Greg Klanderman wrote:
} Subject: Re: bug in 'rm' completion
}
} otherwise it won't work correctly, for example:
} 
} % rm -rf <tab> foo bar baz

I guess I can't say that's an obscure case, but it sure does take a lot
of work to arrange it. :-)
 
} Do you want the analogous check wrapped around the second line?
} Can we rely on $line[$#line+1,-1] to do the right thing?

I think the latter is reliable, but the test doesn't hurt anything.

} then presumably you want something like the new patch below..

Committed.


  reply	other threads:[~2009-11-12  5:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  5:29 Greg Klanderman
2009-11-09 16:17 ` Greg Klanderman
2009-11-09 17:29   ` Bart Schaefer
2009-11-09 17:52     ` Greg Klanderman
2009-11-09 21:20       ` Greg Klanderman
2009-11-10 15:52         ` Bart Schaefer
2009-11-12  2:48           ` Greg Klanderman
2009-11-12  4:21             ` Bart Schaefer [this message]
2009-11-12 17:22               ` Greg Klanderman
2009-11-09 16:29 ` Bart Schaefer

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=091111202117.ZM30768@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).