Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion for {foo,ba/baz
- X-seq: zsh-workers 37048
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Dave Yost <Dave@xxxxxxxx>, zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: completion for {foo,ba/baz
- Date: Sun, 1 Nov 2015 15:36:23 -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=CDh9yvah+1JupEomIxm48OynnhK63sPk5Z3arBGbjFU=; b=QobpTvq55E8a1MYTOUpBHAIQo+U7r0G6bUX/caUWX7Vy8aLQnoP8kP6RjrWc8NVO5z /TlnSe+6g25byEq/ucYRJ5fFlbZ87JcvzDvvonV+Q6gAxnmctBs346bdXG+FcdBp5VPz NMce6vizsz+SdiA/6JZKvJsu29dPWZB6rYuybEWkMFTa+krUEyfB0ICrcRXyZNpsrJ85 xNSrDKBBSsNqXaF3tmofI+9YoI+lE5cB+Q3ciYYK3MDPN7+kqO0wDuQtbU3BHliirVsV cAv5KZWp4dAmuSx2q9qMA5mRPalW5L3i4hkpFg3Sa5zRCPREUQER0VcCLPqoaR6UxlRZ Lvxw==
- In-reply-to: <F917793F-B6AA-40A9-BF2B-F4A21C2EA075@yost.com>
- 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: <F917793F-B6AA-40A9-BF2B-F4A21C2EA075@yost.com>
On Nov 1, 1:03pm, Dave Yost wrote:
}
} It seems to me that zsh completion should work on an argument that has
} a { without a closing }.
Well, it tries, but what it tries is to complete things that could be
added to the list inside the braces; it does not attempt to figure out
where you meant the closing brace to be, because:
} So, tab on
} {foo,ba/baz
} should produce
} {foo,bar}/baz
Why? Brace expansions don't care about slashes the way ordinary globs
do. This could just as easily be {foo,ba/baz,etc}.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author