zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: ZSH - tab-completion of $PATH won't work with /./ or /../ in it
Date: Wed, 09 Dec 2015 10:00:08 +0000	[thread overview]
Message-ID: <20151209100008.2377af37@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAH+w=7bGy1aJ5m+1rzJmNtUvGAsbsie-svR-rujzEpvAmwEC5Q@mail.gmail.com>

On Tue, 08 Dec 2015 22:22:36 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Tue, Dec 8, 2015 at 9:24 PM, John Polansky <johnpolansky@gmail.com> wrote:
> >
> > While I realize it's unusual to have . or .. in a path.. it can happen
> > through scripting and to me this seems like a bug which should be fixed.
> 
> The command hash table has NEVER included commands that appear along
> any relative path.

You can rationalise your path simply enough in one of your start-up
files:

path=(${path:a})

pws


  reply	other threads:[~2015-12-09 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09  5:24 John Polansky
2015-12-09  6:22 ` Bart Schaefer
2015-12-09 10:00   ` Peter Stephenson [this message]
2015-12-09 11:50   ` Peter Stephenson

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=20151209100008.2377af37@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@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).