From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27470 invoked by alias); 5 Sep 2013 01:43:28 -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: 31698 Received: (qmail 17005 invoked from network); 5 Sep 2013 01:43:21 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Jan Larres Subject: Directory completion acts as if CHASE_LINKS is set Date: Thu, 05 Sep 2013 13:23:35 +1200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: yass.opencloud.co.nz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 Hi, I recently noticed that completion of directories acts as if the CHASE_LINKS option is set, that is if you are in a symlinked directory and you want to complete its siblings then it will complete using the physical siblings instead of the ones from the directory that the symlink resides in. Here's an example. Note that neither CHASE_LINKS nor CHASE_DOTS is set. $ zsh --version zsh 5.0.2 (x86_64-pc-linux-gnu) $ zsh -f vanadis% tree -F . ├── bar/ └── foo/ ├── bar -> ../bar/ └── baz/ 4 directories, 0 files vanadis% cd foo/bar vanadis% cd ../[TAB] bar/ foo/ Jan