Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZSH - tab-completion of $PATH won't work with /./ or /../ in it
- X-seq: zsh-workers 37360
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: ZSH - tab-completion of $PATH won't work with /./ or /../ in it
- Date: Wed, 09 Dec 2015 10:00:08 +0000
- In-reply-to: <CAH+w=7bGy1aJ5m+1rzJmNtUvGAsbsie-svR-rujzEpvAmwEC5Q@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CAKKoV8-uEhgRxL_9byx+7OHzgTiqYTT5LSyGmcAZowR4GeJFZA@mail.gmail.com> <CAH+w=7bGy1aJ5m+1rzJmNtUvGAsbsie-svR-rujzEpvAmwEC5Q@mail.gmail.com>
On Tue, 08 Dec 2015 22:22:36 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Dec 8, 2015 at 9:24 PM, John Polansky <johnpolansky@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author