From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25393 invoked from network); 8 Mar 2021 16:23:44 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Mar 2021 16:23:44 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1615220625; b=D8cNKqfwZzHyXROxsFkY1wUU2yLD4W2m31ShHetBgBDSSGYvxHxASZnSZRrykEvWO5dpMSJ11P GDevjYL+k+BuSZUoXafuxIHQHbXEPrJB8+f968Ux4eZTXGv7pA0orHO8xfCbCgfhHvXZhrnZGx HoDbqHTurh1BjOGcWPASJtCgvMRabrHGfYXcYCayFUdfNOZWJ3uIrOpOv7nFjTe0C9MkLrNcJW hW5i7L7gkv+wfwVFD8DnUeotkMUdhYtJTckxnVDf/i4FtUhNxkdIrXQqyLuUnUNckYUI2eSInG uRammO5qi0NzkvLxjZWreqP3PZPmOjrmVL9lzTEJy3HyPw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1615220625; bh=iOQ/3HPErH/s8ZvkDBMKqJCUMX6TMaBtPWVYoh3hKd8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=d4txuSna61DnOBEWgriodw3vS8UxFb4hd3KYFjpwq400IUWdiQwgr/64HTSIhMkv2vUzzT4LJE xeOugHKAag1AgFpLpINCd29vagBVLiS0ztKPRJNOPaL68Z+vvUJesZ0TxBxsKKou/oZDk0X+cG 6wxcdhlhLlhQTvYw6yRboqxwfp8SOMOLGpxb90AgOJmnwNObZ6z/AwUA/7wJtEJtCAJAJNJNnr lWGgKel+WXPmmateB8rAU7MhOLzENpua8G4JvIVgA8/4jGHnyxYjD4cJ9WCJOFWb955KCSrLG7 x/FdIBYm+on+tz1Qj+081+oT361TTPDmTL7USRmQouukkA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=XNAwwjAw9cxaIyOWyzID6vLyfk49EtJd2wgiPv07l64=; b=FMHl0IfvW8ze81hGD4Av2CwhKK OxDT1xGtnw9dbZGJinHKeJklLXVYTKMBVDqELBFaYqWzbVTG4KRkAfMXhlsEzgu/Ag0Z9v6HZ3p06 JZf3wUNCo++Z6tafnSPT8aY8hLrLEdvk0K7AmlM6mIJOprPEgTdJUHhF87jkAs9ERUQQV2BYwhXDE JJDEwov+CL9dLLbJkemI6swpLwPqYhHyhZD70/bTPvuVXK4kz2nHQAQjxoVSUgMDUKXtZ8byQ+qcH LfKRMBeeeb6SnZs21603tUe7Vvc+CbpUyOU7N2fv/YjgWlMQ9lGrs4bJEdScWVkrezhAInacYUuBU QlNEqGRA==; Received: from authenticated user by zero.zsh.org with local id 1lJIfY-0004jj-Id; Mon, 08 Mar 2021 16:23:44 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:56614) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1lJIf1-0004Mr-Hx; Mon, 08 Mar 2021 16:23:12 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1lJIf1-0000Je-29 for zsh-users@zsh.org; Mon, 08 Mar 2021 17:23:11 +0100 Received: from oxbe3.tb.ukmail.iss.as9143.net ([172.25.160.134]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id JIf0lp4f1suRSJIf1lmI90; Mon, 08 Mar 2021 17:23:11 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.134 X-CNFS-Analysis: v=2.4 cv=KruIZUaN c=1 sm=1 tr=0 ts=60464f6f cx=a_exe a=rX2mKgs1IZJU9lF6pltyEQ==:117 a=ADWkfsjt5WoA:10 a=IkcTkHD0fZMA:10 a=ac2Zk7JPEtsA:10 a=5FdIEXEpNYoMTQtHdMIA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1615220591; bh=iOQ/3HPErH/s8ZvkDBMKqJCUMX6TMaBtPWVYoh3hKd8=; h=Date:From:To:In-Reply-To:References:Subject; b=angdc6dCVQRnlCjetsJbUUGE/uDGLzjBeuClByx/aKsGMLsN3NWYpr39ol5Yd6szA J7SUs3aZc9+Weo8+jsUUhFeWFPAF3hOuWNQKEhrOctYzyVeab3TvyH2X7mEYUAKKyV k5pnecK3P6ykNpYF3XjKoJ6p04Qoo1KQXKk5e9L5otqse3/MlnfRGA6WabJeDfvimN ObW7gXucP/QqV3BNa5hAb0AeEcW62lrBBQWGWmkjuyij3V8LNGBPuuiLEOcmm26ljR zCWtA3CU+STsAo9aH0Usu1OjHRUavmUxuGhPl2cBE+JwcEE8fsewvmZortGXdm+9RR LuE7Tt3cPUirw== Date: Mon, 8 Mar 2021 16:23:10 +0000 (GMT) From: Peter Stephenson To: Zsh Users Message-ID: <972212157.296645.1615220590982@mail2.virginmedia.com> In-Reply-To: <20210308161038.GA2069@gmx.de> References: <20210308161038.GA2069@gmx.de> Subject: Re: non-executables in PATH and tab-completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 147.161.167.116 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfMzeUIqb6pk5DHHltCULEmT6vODAuldYGuJVzrjDtdjYg6JBots323p6pCoUlbFBJKFPQ51V4kcd+4UIlxP2yz6kM4z2aPJCZTqiNs33h/Porpdrsghx uxmQMV5a5l9TvknjEISYVl8fy5bb/qhHbK2xyQDX2s+4aRewVFiAC0uWjbeQ/dEI5H2hJspfmLRSdKvC1ImKNDtVyLmdIKYwiFLatjJT6f0EeImD0V1r05nh X-Seq: 26578 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > On 08 March 2021 at 16:10 Dominik Vogt wrote: > If there are files without executable flags in the PATH, zsh still > completes these. (a) Is this a bug? (b) can this be disabled? This option is what you need to know about... it's not specific to completion, which just uses the normal command hash table. HASH_EXECUTABLES_ONLY When hashing commands because of HASH_CMDS, check that the file to be hashed is actually an executable. This option is unset by default as if the path contains a large number of commands, or consists of many remote files, the additional tests can take a long time. Trial and error is needed to show if this option is beneficial. pws