From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13087 invoked by alias); 23 Oct 2014 12:30:53 -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: 19268 Received: (qmail 19669 invoked from network); 23 Oct 2014 12:30:51 -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 autolearn=ham version=3.3.2 Message-ID: <5448F39D.3080009@necoro.eu> Date: Thu, 23 Oct 2014 14:25:01 +0200 From: =?UTF-8?B?UmVuw6kgTmV1bWFubg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: tab completion bug? References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Am 23.10.2014 14:15, schrieb TJ Luoma: > I have these lines in my ~/.zshrc: > > db="${HOME}/Dropbox" > > sites="$db/sites" Unrelated to the issue itself: Why not use the zsh-feature 'named directories' instead? hash -d db=~/Dropbox hash -d sites=~db/sites :) And just while looking this feature up, I noticed that you don't necessarily need the 'hash -d': When the name after the '~' is the name of a variable starting with '/', it uses this. I.e. you can already use 'cd ~sites' instead of 'cd $sites' - René