zsh-workers
 help / color / mirror / code / Atom feed
* Curious result from "git" completion
@ 2013-04-04 17:44 Bart Schaefer
  2013-04-04 19:33 ` Nikolai Weibull
  2013-04-04 19:57 ` Curious result from "git" completion Frank Terbeck
  0 siblings, 2 replies; 10+ messages in thread
From: Bart Schaefer @ 2013-04-04 17:44 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-07 22:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-04 17:44 Curious result from "git" completion Bart Schaefer
2013-04-04 19:33 ` Nikolai Weibull
2013-04-05 15:19   ` Bart Schaefer
2013-04-05 17:26     ` Frank Terbeck
2013-04-05 17:54       ` [PATCH] _git: Handle zero defined aliases better Frank Terbeck
2013-04-05 20:06         ` Nikolai Weibull
2013-04-05 20:15           ` Frank Terbeck
2013-04-04 19:57 ` Curious result from "git" completion Frank Terbeck
2013-04-07 18:33   ` Bart Schaefer
2013-04-07 22:41     ` Aaron Schrab

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).