zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: Roman Odaisky <to.roma.from.debbug@qwertty.com>, 461143@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#461143: completion: erroneous "no more arguments"
Date: Wed, 16 Jan 2008 16:47:25 -0500	[thread overview]
Message-ID: <20080116214725.GA5238@scowler.net> (raw)
In-Reply-To: <20080116212248.5816.79539.reportbug@pogekone.qwertty.com>

On Wed, Jan 16, 2008 at 09:22:48PM +0000, Roman Odaisky wrote:
> sed -i -e 's/foo/bar/' ./some/file ./<TAB>
> 
> At this point completion fails and a message "no more arguments" appears. Seemingly zsh doesn't know how to complete any arguments beyond the first one. Is this just an incorrect completion configuration for sed or a more global problem?
> 
> WBR, Roman.

No, just sed.

Index: Completion/Unix/Command/_sed
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_sed,v
retrieving revision 1.2
diff -u -r1.2 _sed
--- Completion/Unix/Command/_sed	19 Nov 2005 15:47:48 -0000	1.2
+++ Completion/Unix/Command/_sed	16 Jan 2008 21:45:54 -0000
@@ -7,7 +7,7 @@
   '(1)*'{-e,--expression=-}'[add sed commands to run]:sed script'
   '(1)*'{-f,--file=-}'[add contents of file to commands to run]:file:_files'
   '(-e)1: :_guard "^-*" sed script'
-  ':input file:_files'
+  '*:input file:_files'
 )
 
 if _pick_variant gnu=GNU unix --version; then


           reply	other threads:[~2008-01-16 21:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20080116212248.5816.79539.reportbug@pogekone.qwertty.com>]

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=20080116214725.GA5238@scowler.net \
    --to=schizo@debian.org \
    --cc=461143@bugs.debian.org \
    --cc=to.roma.from.debbug@qwertty.com \
    --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).