From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9995 invoked by alias); 23 Oct 2014 13:27: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: 19275 Received: (qmail 20520 invoked from network); 23 Oct 2014 13:26: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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=j1/pQwF9fl3Lkv+4BZlgmrdqPIc2rnhH5wiN83hPK6M=; b=DM+0EFQYNUl8YWVsEv3x+y6vNNwv/wa70jfuRTj2IGG/dnF3PN7Yp+2y3UG9SCPqiN ijiAwiQ1z7aNbPm01WK8mwsVr70+Z613/clFIuwYBKucXL+rZzH7/Jz2D3by474rmBAf ovobYa701IurFM+9GUx4qGmYQmWOcPiMqrJJmAfC7t5aHg0xD1JE3/U8CHdy1qkMGTEj bQma7165CqrP3+uRdqypiqritPVL+f/FXv/PTHUUzO4HgaBBJRFA39H6Zgp2Nl4nUr2A ot0/U4+KrNzD4x44YMeV0R42X+IWW0FkgFgu5U23pR2V0U/B1QJh3p+0F8AO4Pa4k8xt /2uw== X-Received: by 10.140.109.181 with SMTP id l50mr7127573qgf.80.1414070805860; Thu, 23 Oct 2014 06:26:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20141023140616.456fa1f1@pwslap01u.europe.root.pri> References: <20141023133140.07d56359@pwslap01u.europe.root.pri> <20141023140616.456fa1f1@pwslap01u.europe.root.pri> From: TJ Luoma Date: Thu, 23 Oct 2014 09:26:04 -0400 Message-ID: Subject: Re: tab completion bug? To: Peter Stephenson Cc: Zsh-Users List Content-Type: text/plain; charset=UTF-8 On Thu, Oct 23, 2014 at 9:06 AM, Peter Stephenson wrote: > echo /Users/luomat/Dropbox/sites/ > > produces sensible results? Aha! I wanted to make sure I was testing exactly what you suggested, so I did a copy/paste your command (not including the of course) echo /Users/luomat/Dropbox/sites/ and then pressed which gave me echo /Users/luomat/Dropbox/Sites/ pressing again gave me content of $sites/ SO, I went to ~/.zshrc and changed sites="$db/sites" to sites="$db/Sites" and I can do: cd $sites/ and get the list of the directories as expected. SOLUTION: Make sure that the variables/named directories are named more precisely in ~/.zshrc Note that the actual directory is named "Sites" and there is no "sites" folder. The Mac OS X filesystem (HFS+) is "case preserving but not case sensitive" (which I've always disliked, and now I have yet another reason why). I would still suggest that the original behavior which left me with "cd $sites//Users/luomat/Dropbox/Sites/" is a zsh bug, but I will leave that decision to those more qualified to answer. Thanks for helping me figure this out! TjL