From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7343 invoked by alias); 4 Apr 2013 17:44:26 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31207 Received: (qmail 7107 invoked from network); 4 Apr 2013 17:44:24 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130404104417.ZM2767@torch.brasslantern.com> Date: Thu, 04 Apr 2013 10:44:17 -0700 X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Curious result from "git" completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii schaefer<502> git \' Completing alias ' Completing main porcelain command [remainder suppressed] What's with the solitary single quote being completed as an alias? Note that I don't *have* any git aliases as far as I know, so if somebody more git-savvy is going to try to reproduce this, you'll have to avoid loading your regular git config. Here's a bit of _complete_debug output: : _git_commands:162; local -a aliases unique_aliases : _git_commands:163; __git_extract_aliases : __git_extract_aliases:1; aliases=: __git_extract_aliases:1:cmdsubst; _call_pro gram aliases 'git config -z --get-regexp '\''^alias.'\' : _call_program:3; local tmp : _call_program:5:if; zstyle -s :completion::complete:git:argument-1:aliases com mand tmp : _call_program:12:else; eval 'git config -z --get-regexp '\''^alias.'\' : (eval):1:else; git config -z --get-regexp '^alias.' : __git_extract_aliases:1; aliases=( \' ) I was attempting completion in hopes of answering the question, "What's the simple git equivalent of 'cvs export'?" to which I still have no answer.