zsh-users
 help / color / mirror / code / Atom feed
From: Eric & Jolanda <fammoors@someren.nl.eu.org>
To: zsh-users@zsh.org
Subject: Re: tab completion bug?
Date: Thu, 23 Oct 2014 14:44:15 +0200	[thread overview]
Message-ID: <029d50e27c5b6e810cba123486169234@www.someren.nl.eu.org> (raw)
In-Reply-To: <CADjGqHubg=UK+0awfnrr48YFLRy1gPC+44q7GscMM0rADMm=cw@mail.gmail.com>

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


      parent reply	other threads:[~2014-10-23 12:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 12:15 TJ Luoma
2014-10-23 12:25 ` René Neumann
2014-10-23 12:43   ` TJ Luoma
2014-10-23 12:31 ` Peter Stephenson
2014-10-23 12:39   ` TJ Luoma
2014-10-23 13:06     ` Peter Stephenson
2014-10-23 13:26       ` TJ Luoma
2014-10-24  2:23         ` Bart Schaefer
2014-10-24 11:59           ` TJ Luoma
2014-10-24 12:06         ` Peter Stephenson
2014-10-24 19:55           ` TJ Luoma
2014-10-23 12:42   ` Peter Stephenson
2014-10-23 12:44 ` Eric & Jolanda [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=029d50e27c5b6e810cba123486169234@www.someren.nl.eu.org \
    --to=fammoors@someren.nl.eu.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).