From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13136 invoked by alias); 2 Jan 2015 21:54:02 -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: 19670 Received: (qmail 14498 invoked from network); 2 Jan 2015 21:53:50 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=HOv8TPlFSS3eFj132gCofQ==:117 a=HOv8TPlFSS3eFj132gCofQ==:17 a=Hpgzp-inWqAA:10 a=N659UExz7-8A:10 a=z6p3MWIWOjiblB1hyCQA:9 a=pILNOxqGKmIA:10 Message-id: <54A7136C.1060102@eastlink.ca> Date: Fri, 02 Jan 2015 13:53:48 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: symlink chain. References: <549E3A7B.9010209@eastlink.ca> <20150102170307.7d2e644a@ntlworld.com> <54A6E6B1.6070201@eastlink.ca> <20150102212422.3a761af5@ntlworld.com> In-reply-to: <20150102212422.3a761af5@ntlworld.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit Another little gotcha: $ whence -s /usr/bin/zsh /usr/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1 $ whence -sa /usr/bin/zsh (nothing) ... why would the '-a' switch kill the '-s' switch? But only sometimes: $ whence -as zsh /usr/local/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1 /usr/bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1 /bin/zsh -> /usr/local/bin/zsh-5.0.7-165-g2194da1 ... with the broader search pattern, '-as' is happy to show the symlink.