Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Fwd: [Pkg-zsh-devel] Bug#679824: zsh: Buggy perl completion with -e [origin: vincent@xxxxxxxxxx]



Hi,

the following issue (sorry, no patch included this time :-) has been
reported in Debian at https://bugs.debian.org/679824 and is still
present in zsh 5.0.5 (and since Completion/Unix/Command/_perl hasn't
been touched in git HEAD since 2011, likely also in the current git
HEAD):

----- Forwarded message from Vincent Lefevre <vincent@xxxxxxxxxx> -----
Date: Sun, 1 Jul 2012 22:12:35 +0200
From: Vincent Lefevre <vincent@xxxxxxxxxx>
Subject: [Pkg-zsh-devel] Bug#679824: zsh: Buggy perl completion with -e

Package: zsh
Version: 4.3.17-1
Severity: normal

On

$ perl -pi -e 's/foo/bar/' [TAB]

zsh wants to complete on Perl scripts instead of normal files.
AFAIK, after -e '...', completion should be done on arbitrary
arguments (e.g. like after an unknown command).

[...]
----- End forwarded message -----

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author