From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20392 invoked by alias); 28 Dec 2014 00:08:42 -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: 19639 Received: (qmail 7831 invoked from network); 28 Dec 2014 00:08:30 -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=7RdanbHzwoPNWkp1ouN4hg==:117 a=7RdanbHzwoPNWkp1ouN4hg==:17 a=Hpgzp-inWqAA:10 a=IkcTkHD0fZMA:10 a=K66vOgZzw7fQaFec7cQA:9 a=QEXdDO2ut3YA:10 Message-id: <549F42F0.8020206@eastlink.ca> Date: Sat, 27 Dec 2014 15:38:24 -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> In-reply-to: <549E3A7B.9010209@eastlink.ca> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 12/26/2014 08:50 PM, Ray Andrews wrote: > I just noticed that 'whence -s' very quietly 'finishes' a chain of > links, and shows you the final target. 'ls' OTOH only ever shows you > the first link in a chain. It gets me wanting some way of showing an > entire chain of links where that applies. Can it be done? It occurred > to me that perhaps 'whence' should not use the standard " -> " symbol > when showing a link, because it's not a normal display, but a jump to > the end of the chain. Dunno, is there a better symbol for that? " > ->> " or something? > Well, pending a zsh internal solution, 'namei' does the trick very nicely. Always new treasures to find.