Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#461143: completion: erroneous "no more arguments"
- X-seq: zsh-workers 24402
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Roman Odaisky <to.roma.from.debbug@xxxxxxxxxxx>, 461143@xxxxxxxxxxxxxxx
- Subject: Re: Bug#461143: completion: erroneous "no more arguments"
- Date: Wed, 16 Jan 2008 16:47:25 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20080116212248.5816.79539.reportbug@xxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Roman Odaisky <to.roma.from.debbug@xxxxxxxxxxx>, 461143@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080116212248.5816.79539.reportbug@xxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author