From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16726 invoked by alias); 22 Apr 2011 17:49:40 -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: 29028 Received: (qmail 7244 invoked from network); 22 Apr 2011 17:49:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.215.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:content-transfer-encoding; bh=MaJSfuGO+l41rB8/gAn/g4A2kOiKSWCnjx2PiC6fDT8=; b=WhiLajOy+kO8OuQY1oReHsuCESE8t9IyF4OxkvyKoh8YSJgGHA0I36Djky+plTP7yr +HyAGsi16eEmVdQv0mMAM2Sm1xRdHyHAdMiTZ9AicqEVzpyN7c6rBrRw/LK68nojvKe/ TZqPxqS4GgkW7YqnIi3MWgsiSOy1DpAwQQ5Rc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=aKOoJO373BAIACB6nzCTfa4DHCxIuovcjvmukrEQ3LHGG4GsRpiW3Aub0e3EyQRtGN +qnFr5fhhxVZRm+9X1FKhdmRBqYpnJGvfMnwsvNUbHwzTaROwUJEexfcItKWNYDfTmUB ZRPt1MDZGakcd50EMwWtugmBjFLoIMinukPsg= From: Felipe Contreras To: zsh-workers@zsh.org Cc: Nikolai Weibull , Felipe Contreras Subject: =?UTF-8?q?=5BPATCH=5D=20=5Fgit=3A=20fix=20gitk?= Date: Fri, 22 Apr 2011 20:43:01 +0300 Message-Id: <1303494181-10348-1-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.5.rc3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Felipe Contreras --- Completion/Unix/Command/_git | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 640fa07..92227f4 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1,4 +1,4 @@ -#compdef git git-cvsserver git-receive-pack git-upload-archive git-upload-pack git-shell +#compdef git git-cvsserver git-receive-pack git-upload-archive git-upload-pack git-shell gitk # Some parts of this completion's behaviour are configurable: # @@ -4463,8 +4463,7 @@ _git_commands () { stash:'stash away changes to dirty working directory' status:'show working-tree status' submodule:'initialize, update, or inspect submodules' - tag:'create, list, delete or verify tag object signed with GPG' - gitk:'brows the repository interactively') + tag:'create, list, delete or verify tag object signed with GPG') local -a ancillary_manipulator_commands ancillary_manipulator_commands=( @@ -5959,6 +5958,11 @@ __git_color_attributes () { _describe -t attributes attribute attributes $* } +(( $+functions[_gitk] )) || +_gitk () { + _git-log +} + # Now, for the main driver… _git() { if (( CURRENT > 2 )); then -- 1.7.5.rc3