From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25883 invoked by alias); 23 Oct 2014 12:59:05 -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: 19273 Received: (qmail 29197 invoked from network); 23 Oct 2014 12:58:53 -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 autolearn=ham version=3.3.2 To: zsh-users@zsh.org Subject: Re: tab completion =?UTF-8?Q?bug=3F?= X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 23 Oct 2014 14:44:15 +0200 From: Eric & Jolanda In-Reply-To: References: Message-ID: <029d50e27c5b6e810cba123486169234@www.someren.nl.eu.org> X-Sender: fammoors@someren.nl.eu.org User-Agent: Roundcube Webmail/0.9.5 X-OriginalArrivalTime: 23 Oct 2014 12:44:16.0768 (UTC) FILETIME=[0E928000:01CFEEBF] X-RcptDomain: zsh.org TJ Luoma schreef op 2014-10-23 14:15: > I have these lines in my ~/.zshrc: > > db="${HOME}/Dropbox" > > sites="$db/sites" > > If I type > > cd $db/ > > and press 'tab' I get a list of all of the directories in $db > > BUT if I type > > cd $sites/ > > and press 'tab' I get > > cd $sites//Users/luomat/Dropbox/Sites/ > > Is this a bug or am I missing something? Because it seems like I > should be getting a list of directories in $sites/ > > ZSH_VERSION = 5.0.7 (Mac Homebrew compiled > > (also happens in 5.0.5 -- the version bundled with OS X 10.10) > > TjL Looks like you made a typo: Did you mean Sites instead of sites? Why the completion turns up the correction appended to the command I have no idea. Eric