* Re: Bug#461143: completion: erroneous "no more arguments"
[not found] <20080116212248.5816.79539.reportbug@pogekone.qwertty.com>
@ 2008-01-16 21:47 ` Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2008-01-16 21:47 UTC (permalink / raw)
To: Roman Odaisky, 461143; +Cc: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-16 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20080116212248.5816.79539.reportbug@pogekone.qwertty.com>
2008-01-16 21:47 ` Bug#461143: completion: erroneous "no more arguments" Clint Adams
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).