From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21624 invoked by alias); 10 Aug 2017 21:47:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22808 Received: (qmail 15000 invoked by uid 1010); 10 Aug 2017 21:47:08 -0000 X-Qmail-Scanner-Diagnostics: from mta04.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.10):SA:0(-0.7/5.0):. Processed in 6.262637 secs); 10 Aug 2017 21:47:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Authority-Analysis: v=2.2 cv=b5/C2pOx c=1 sm=1 tr=0 a=8gj3v1wGPP1N//wMR4mB5g==:117 a=8gj3v1wGPP1N//wMR4mB5g==:17 a=IkcTkHD0fZMA:10 a=fqorLtUCQ-wp6Ke21y4A:9 a=QEXdDO2ut3YA:10 X-EL-IP-NOAUTH: 24.207.98.138 To: Zsh Users From: Ray Andrews Subject: PATH_DIRS Message-id: Date: Thu, 10 Aug 2017 14:46:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit Content-language: en-CA Noticing how PATH_DIRS behaves in a way parallel or complementary to PATH, I wonder if whence might be tweaked to search for scripts on PATH_DIRS sorta exactlyas it searches for binarieson PATH. It would round the command out by enabling it to find any sort of executable whatever-- alias, function, binary, builtin or (now) script.