From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7288 invoked by alias); 5 Sep 2011 19:18:40 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29751 Received: (qmail 18794 invoked from network); 5 Sep 2011 19:18:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at altlinux.org does not designate permitted sender hosts) Date: Mon, 5 Sep 2011 23:11:52 +0400 From: "Alexey I. Froloff" To: zsh-workers@zsh.org Subject: Re: PATCH (?) Re: strange completion Message-ID: <20110905191152.GA24658@altlinux.org> References: <4DE6ABF6.10405@sergio.spb.ru> <110601194609.ZM14369@torch.brasslantern.com> <4DE765F2.5000704@sergio.spb.ru> <110602071346.ZM15593@torch.brasslantern.com> <110603013407.ZM16592@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <110603013407.ZM16592@torch.brasslantern.com> User-Agent: Mutt/1.5.21 (2010-12-30) --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 03, 2011 at 01:34:07AM -0700, Bart Schaefer wrote: > - if [[ "$tpre$tsuf" =3D */* ]]; then > + if [[ "$tpre$tsuf" =3D (#b)*/(*) && -n "$fake${match[1]}" ]]; then Don't know why, but this patch breaks completion with list-dirs-first set to true (see _files): $ ls .zsh/Completion/ Sorry. No match for: `files' or `directories' $ ls .zsh/Completion/_ ---- files ---- _files _path_files However: $ ls ---- directories ---- =2E.. ---- files ---- =2E.. As you can see, it refuses to complete files without known prefix. Can someone, please, look into tis issue? --=20 Regards, -- Sir Raorn. --- http://thousandsofhate.blogspot.com/ --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJOZR7xAAoJEErPkC6vOrpJ9PQP/RHzi0VP12WiNB19OzLFox0g aRYtGkd3ZzPAqLXlmiFM9LNt4c66AfgFZ7DWa5F+uon9jvjNd6BLfiCBsuFm1+3B idXNKoUE6xR1EOz6ZZ9Nr4EOQx3k5/ZBttWtXTuHMYNc+c8YGgoLRRd5CrQh5mbq ctOvI/VJtD3xNjo2YN6dxTR2B53GjU7d4IAqVU2OYl1Fy3xEaKBT4GFSQaYMiCjH qey8cRB9Ifs7SPR3LJva3oKl2zGjwIMGonRsT9E1NyB/S6VJWHQhOJokwDgszb+v IdI6lizkfzPjUY/1OWlpMUKMJYYvq6PM4FSV++LjB6yHUoy/5e4Bu6JnoDMZElvy HWZ66zj1ArGm/wYFBs9B7pREWowEgQ0ZHkWTJxRJlBmGsK0Ontho+QdkmjEVzY7g L0gTY9+rOoJMZUgApZ59lmv4Dzx8tSsO+lM6Oo/eN+BbvlStWIjYEZcbBcPl1DNZ pgdfN3DKknPDSz0rJ1bC+Pz46ktJqvzZrxjl1A5oiIZ42Wt3FFVC87LHb95Wua/z vumyir9RNs4Xjj43VhD146aJJws81i1SH5e87j1uX+74wjnMLkM5xtLiGP4gLLnL Z6ZurWNDd+yBAEV5uKZUgQnk7r/8A+Cug7rfAO2U396i1sfy+kgPbUt9IQVtjO/P Pdt5ABKUrbnr4o6E/Iyk =ShWT -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--