Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion for cd
- X-seq: zsh-users 22574
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jesper Nygårds <jesper.nygards@xxxxxxxxx>
- Subject: Re: Completion for cd
- Date: Tue, 14 Mar 2017 20:56:13 -0700
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=gxXaJkohCjaTUxYBxCEV+iyzhVpA9UKCEQhQ4qG3U6c=; b=k7yEST/EYoyzCcoOmimlRTLvFulU6PZclgAI2ApqgGlQEknvAwnuoJsJOv+QCRLQN7 mtaBMSoxMSKb8ZOdr2olX4cMb2kgHEoQfWNxCJplhjf9H7S4RB1lkXZvduHabNmCcVGE WmCostHlUal7rcynh0mTuj2INHyRG/W2+aTk0Lo1SOt8C30iw+XFYhTG6yX6G7nQ87Rx xU6Hs1AJjT4vQXotzElU/OIjQ0r0JlE4pvtlDsJswS8Ip2SLMzT5nGiKvBEE6RvfVYNt yODzvV2MJ0rO2X1pixtdZQJS1UFSH/E9I9nop5c7aXJSwV3/DoONb+S+G4uyYB0h2lY2 fSVg==
- In-reply-to: <CABZhJg_BHrkw+DmRkNFoejDx7fF4-9pnULyYF2sV=LWOdwJP4w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABZhJg_McyYz8f_xyVN8c8g4xop+6J_EWj2=CUS3uu9A0SZPNA@mail.gmail.com> <170314120715.ZM10347@torch.brasslantern.com> <CABZhJg_BHrkw+DmRkNFoejDx7fF4-9pnULyYF2sV=LWOdwJP4w@mail.gmail.com>
On Tue, Mar 14, 2017 at 2:50 PM, Jesper Nygårds
<jesper.nygards@xxxxxxxxx> wrote:
> Thank you for your help, Bart. I tried your suggestion, but I'm afraid I'm a
> little overwhelmed by the amount of debug info.
The clue is at the very end of each file: In the first case [that
ignores parents as expected], the _complete function generated the
matches, but in the second case the _approximate function generated
them.
The path search correctly excludes "zaa" but then _approximate puts it
back because it is similar enough to the string on the command line.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author