Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion of empty directories
- X-seq: zsh-users 23769
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Completion of empty directories
- Date: Fri, 23 Nov 2018 11:57:19 -0800
- 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:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GMabVRG8wQ1VQLK+x8CQIv0P2IHV0n82maOcQX8wvBE=; b=oLVFc0S8bFpUhd5nhmRALJat5SyqCrio+fH917jj8rZuw8yK1QXrN/tWPz5QXBcRN/ 2iveEr88TUCnDUUzBHCMvuK5AWRFoj/iIAZsoLP5QasKj7pJeKwCC7SjdMDtqCIBSbEv q/g3kP5ggYWl1M/D2SDUl9QXR/gMOSoOy8ADkDEipyKjcdeneqJw9Izb4d+9gsZ9aBhG wdkFoxaZoBFwvEyydMfLW6zBPn8g89UoEMKkfimQ3MK/V9O6kcqtOeswPQdFEpz4Jc+Y 9jSjCvJZHPAZtiiWUDxJMlgKEt2k4PC+pyNti4UI2XX/SAhais9tuOLOsvJ76HLv1J0Z bB1w==
- In-reply-to: <1542971499.684887.1586472136.0911E6FB@webmail.messagingengine.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>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1542971499.684887.1586472136.0911E6FB@webmail.messagingengine.com>
On Fri, Nov 23, 2018 at 3:12 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> When xxx/ is empty, the <TAB> does nothing. Could it complete x/ to xxx/?
The difference happens at this line:
+_path_files:463> compfiles -p tmp1 accex / ' ' '' fake '*'
when xxx/ is empty, this assigns nothing to tmp1 for x/, but when it
is non-empty this assigns xxx/foo to tmp1.
My guess is that this comes down to the cf_pats() function, but I
haven't traced through the C code in detail.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author