Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Complete with *part* not part*
- X-seq: zsh-users 21275
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Complete with *part* not part*
- Date: Fri, 12 Feb 2016 09:16:07 -0800
- 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:content-type; bh=l1AiRnqd1/GwqQs0L5ZXgSDuyIHojjKmHnrNeEapEpk=; b=Jcr3RVFajup2Wh5NzKph4eHH+7NYtMehVWSd0GBoIt80g8hKoIcB0Mmx0Rrs51uCZd 4kwwfBVa/JSWnFCSd1WCDxjBUkvAVW3y1J7LwdeebvNPQHYpqJIjLl4/7HUl3qVkgyVP giv2LxBmBzD6RJBMmrnHVvP9KW/3gfI/JV0lKVqr457bcUyqAY0ul4vakFyhxBwNWtN9 hIqO4EGplPNVbEruGVCG1LpIC07MvLLWAPfTnn7Yg0wGz3FkdLaBZVK/wce4R7CK2X3s m4CMiluBiZ9TK6nTWv6PIlmBHEEZNTFRQuqbXtFh0chNXnt2ZgPzIyDh3CVxXFDBdwCO QkeA==
- In-reply-to: <CAKc7PVD7OsvcJFNm4y=bJZNf+6s5bj1PT8PMQgwF-9WBRddyCg@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: <CAKc7PVCbo2jTacSQC9VZHATgH+qoWYSgTvFyHA1p-7Uz+fj7SA@mail.gmail.com> <CAHYJk3T-_iLDF9FJ6ypRzKBe=-KeAySkA53FbXUT53yaobYAww@mail.gmail.com> <160212080127.ZM14265@torch.brasslantern.com> <CAKc7PVD7OsvcJFNm4y=bJZNf+6s5bj1PT8PMQgwF-9WBRddyCg@mail.gmail.com>
On Feb 12, 5:11pm, Sebastian Gniazdowski wrote:
} Subject: Re: Complete with *part* not part*
}
} On 12 February 2016 at 17:01, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > Which you do like this:
} >
} > zstyle ':completion:*' matcher-list 'r:|=** l:|=*'
}
} This works.
}
} Want to have this only for "zplugin" and only for its sub-command.
The name is "matcher" when it's a specific tag, "matcher-list" is for
the global setting. So this should theoretically do it:
zstyle ':completion:*:zplugin:*:argument-rest' matcher 'r:|=** l:|=*'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author