Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion II
- X-seq: zsh-users 11491
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: Completion II
- Date: Thu, 17 May 2007 13:23:23 +0200
- Cc: zsh-users@xxxxxxxxxx
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pdpXSnAda+U/C2z9FEnZ89zfYHDQOw4NS7z06anwQ6VObY38K8xi+iKjjZ6swKAmqRZEcDq/P2VaqdXzM7uN7VawPREHAJzizt6tJS79vgbNtSwZF7dELSQn4logPtROUk45S7eud/lWjbAFx2eIles1hORlN4JoSU00ZC2fFes=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Ou7hcVS8svN6psEuA56huvZCNXKgAMPhnPvbpMyIrPETFCwUKV+kyXBL0oIB3oJNS+ZJU6cWmTVsrbwUcFOBo4J6fVjR6/Q1ZryojX7MKS/vUTBVURTkSw4F0LG+1I6vdgio1uVUbIqZfGycg9josHJg1ZJZc8yIuL/fAk3sooU=
- In-reply-to: <Xns99337C43C7AACzzappergmailcom@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns99337C43C7AACzzappergmailcom@xxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 5/17/07, zzapper <david@xxxxxxxxxx> wrote:
Hi
Say I want to complete a filename I know contains a certain string 'joe'
I can do
> vi *joe*<TAB>
or even
> vi main*joe*<TAB>
% man zshexpn
(search for "Matches anything except")
You'll find two options, ^x and x~y. ^x matches anything except
whatever x matches. x~y matches anything x matches except anything
that also matches y.
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author