From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 232 invoked by alias); 9 Oct 2013 14:15:52 -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: 31804 Received: (qmail 11710 invoked from network); 9 Oct 2013 14:15:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=gQqcZnzlz7fTGuoBTyQDV3WxLCBwfdeqHReVixGhfNU=; b=MzkHYRCnQ1u6Ntr3sn6szsW5cAxdVGHuFXRAfXJnGo0NGHnmv1BxKZZxNMOXB9XC2y I25DOju0T2aN1A/lazyZAGu1WMvfBExCx6DxZ/LrD5B/NSlZVsYKoavlbiJR9d7x30gj 94rBHtoH8cC+ABvTuLsQLLKtUARJqQBnHDno8p9wMJT+MNY+SUn1CjtDQX+MZNAtwve+ 9AMyZlP5fFHFreOY71ji3Dfij4s31MW2KLlHbxPyD5n2wh6SelGaJXuIwpQabTWiIWyq FcukzlfADYIX4+7dnmsM431fm7BjdRDIrk2nm2P9uqASeVhJwoQZhS2Bqoi9Z/or5+G7 gF1A== X-Received: by 10.68.7.74 with SMTP id h10mr8066728pba.11.1381328133388; Wed, 09 Oct 2013 07:15:33 -0700 (PDT) Message-ID: <525564FE.3030705@gmail.com> Date: Thu, 10 Oct 2013 01:15:26 +1100 From: Kunshan Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Bug: Completion of the 'zsh' command. X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="05FbEl3TbmmCPSDfrqGfVGhnka28DWBIW" --05FbEl3TbmmCPSDfrqGfVGhnka28DWBIW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Filename arguments of the 'zsh' command cannot be completed. Distro: ArchLinux Kernel: linux 3.11.4-1 Arch: x86-64 zsh: 5.0.2 Also reproducable on a Mac OSX 10.8 with zsh installed from Homebrew. How to reproduce: 1. Create a new user account on my Linux to set up a clean environment. Then use compinstall to initialize a default setting. (This is optional since it is usually reproducable whenever completion is enabled) 2. Create a new text file: $ echo 'echo hello' > hello.zsh 3. Type 'zsh ./h' (no quote) and press TAB What actually happens: The file hello.zsh is listed below, but continue pressing TAB will not select the file 'hello.zsh'. Nothing happens. What I think it should happen: zsh should cycle through all filenames in the current directory beginning with 'h' (because I typed './h') and complete it. More information: * The Mac OSX comes with an older 4.x version of zsh and it completes the filename normally. * The zsh FAQ 4.6 (http://zsh.sourceforge.net/FAQ/zshfaq04.html#l50) works. It will start file completion normally, but I don't understand why the completer of the 'zsh' command is not expecting any file in the current directory. Also there are many scripts in /usr/share/zsh/functions/Completion and many scripts for zsh's internal commands, but there is no script for the 'zsh' command itself. Is it placed elsewhere? Regards, Kunshan Wang --05FbEl3TbmmCPSDfrqGfVGhnka28DWBIW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSVWUBAAoJEIslTQJ/IXB9V8sH/1u60MAx2ENsriBA9cr5OgrP 2c5DhCEFSgEFgVmNR5s7yqcVGFEdCmgLbr4j4b0beOezaTZbGVWF+uJgYDTKv3nP gp8z5UG9mV1X/BnnORx3BmPZIXJWu64U8YfZsAHcBRgCVdCoW5Z4Finp4tiBvt+1 GmmOaTGpmKAE4RNbIXhO7u37rWOOCWyIm0sKlAC+xMyxMfmnMiQC0DPoOqwztWOj qx/u2NJWMwCGaOH94nzoaFFTgehQWM/msA3DgATGRDDYddZ70AWXUjInmx1vJzcw kauI399dro3xTIn7RblWlHHFAdh9GR06pOMyVcsPR7cPpCKfq9B9ORT1nDXyQco= =BjWj -----END PGP SIGNATURE----- --05FbEl3TbmmCPSDfrqGfVGhnka28DWBIW--