From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16507 invoked by alias); 20 Feb 2014 01:34:02 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18494 Received: (qmail 14614 invoked from network); 20 Feb 2014 01:33:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Date: Wed, 19 Feb 2014 20:33:53 -0500 From: Aaron Schrab To: zsh-users@zsh.org Subject: Re: Remove space added by completion Message-ID: <20140220013353.GA10369@pug.qqx.org> Mail-Followup-To: zsh-users@zsh.org References: <16835.1392415885@thecus.kiddle.eu> <20140215004907.GH10654@pug.qqx.org> <140214183336.ZM10372@torch.brasslantern.com> <20140215044539.GA2070@pug.qqx.org> <18441.1392742462@thecus.kiddle.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <18441.1392742462@thecus.kiddle.eu> User-Agent: Mutt/1.5.22+66 (g5d1ab39) (2013-10-16) At 17:54 +0100 18 Feb 2014, Oliver Kiddle wrote: >How about the following? This just uses zparseopts to get the suffixes >and puts them in to each of the alternatives. The trickiest part is >quoting. I've also added a compset -S call to handle an existing >suffix. IMO, that works great! Thanks.