Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _add-zle-hook-widget: New completion.
- X-seq: zsh-workers 38887
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] _add-zle-hook-widget: New completion.
- Date: Tue, 19 Jul 2016 10:58:58 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;        h=from:message-id:date:in-reply-to:comments:references:to:subject         :mime-version;        bh=B7F9m//D2BlOIVeQX1IsBp2bvud+5CuShyC9QscX59k=;        b=Zl+xm3+ytHcrYX/RL+Hd6+Um4yfGroEXH+ruUwAauT1k+nrXLGDh4wgeZ/zVQ4oi7h         wNP/WeQenupMvx9LQFQtkrjmwMkiXLxm/KEGbuO+udKTXTzLAKa4K0nqtove31+NAYcp         yRget6la6VQbZe5a0dSu4uokp0w4QoYp/vbzuFdm5gbdY5MjOq/p224wiwyAZb+KtlDJ         vaaHb+/gQJHYOlpnQ5R4/Pb44c0n5jYsm+5J1pE/7VL4jtfFtDnZW7HaGPjUUOpGmo91         e6rIpKzSid0t/rOMWeJFdynX8KhN5vfB4b9AVJvN9xzz14o8m+t9P4HAhOiYUOw5QNL+         fWuA==
- In-reply-to: <43719.1468924205@hydra.kiddle.eu>
- 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
- References: <160716185103.ZM5258@torch.brasslantern.com> 	<1468767614-9635-1-git-send-email-danielsh@tarsus.local2> 	<91351.1468835277@hydra.kiddle.eu> 	<160718083025.ZM4767@torch.brasslantern.com> 	<43719.1468924205@hydra.kiddle.eu>
On Jul 19, 12:30pm, Oliver Kiddle wrote:
}
} For the hook types, I wonder if the best choice might be -M 'L:|=zle-'
} along with including zle- in the matches. That allows partial completion
} to work.
I tried that but it adds the trailing space after "zle- " -- I suppose
it could be added with a separate call (compadd -S '' zle-) instead of
just added to the array of hook types.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author