From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18496 invoked by alias); 15 Dec 2013 07:53:31 -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: 18218 Received: (qmail 3919 invoked from network); 15 Dec 2013 07:53:26 -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=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201210; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=PDRqboWCgT4eJ7jdz3H/rGv19flqU13D6Za+AQS/Tko=; b=ckSGdRMKYkJs0jJhuYzm34xJWKtLTVzGicPvSEkkmWzn8ohZMLR6nOFrgRNe+fBNC/qWjLemuQ0/2VgAJpvMHkkeXKHyz7Quxr8oVhMZ505m3aXraTDWS1Ybmd7y3FemhFDzVC5ZuMuRIL7aHTG6RTgMDsSDml2beyFHBH2CXVk=; Date: Sun, 15 Dec 2013 02:36:03 -0500 From: Phil Pennock To: zsh-users@zsh.org Subject: brace in alias name and compsys Message-ID: <20131215073603.GA97197@redoubt.spodhuis.org> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x3903637F.asc Given this: % alias ztrace{='() { setopt localoptions xtrace; ' I can do this: % ztrace{ [[ a == 43 ]] } +(anon):0> [[ a == 43 ]] % However, tab-completing 'ztrace{' yields 'ztrace\{'. Hitting return on a line with the backslash in it yields a: zsh: command not found: ztrace{ and a 127 exit status. Working from "zsh -f", initially tab-completion yields "ztrace{" without the backslash and everything works fine, but all it takes to get the broken completion behaviour back is: % autoload compinit ; compinit So this isn't anything in my grotesquery of a configuration and appears to be straight from compsys. Is there anything I can tune to change the completion behaviour to not insert the extraneous backslash? Thanks, -Phil