Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
brace in alias name and compsys
- X-seq: zsh-users 18218
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: brace in alias name and compsys
- Date: Sun, 15 Dec 2013 02:36:03 -0500
- 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=;
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author