From e3c1917345abff3fd27e862795e2dbd0ef82b166 Mon Sep 17 00:00:00 2001 From: Nikolai Weibull Date: Thu, 21 Jul 2011 09:08:32 +0000 Subject: unposted: Completion/Unix/Command/_git: Move _gitk and _tig to correct location. --- Completion/Unix/Command/_git | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 8f9f6d454..b4fcf07d5 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1579,6 +1579,16 @@ _git-tag () { '*:: :__git_ignore_line_inside_arguments __git_tags' } +(( $+functions[_gitk] )) || +_gitk () { + _git-log +} + +(( $+functions[_tig] )) || +_tig () { + _git-log +} + # Ancillary Commands (Manipulators) (( $+functions[_git-config] )) || @@ -6052,16 +6062,6 @@ __git_color_attributes () { _describe -t attributes attribute attributes $* } -(( $+functions[_gitk] )) || -_gitk () { - _git-log -} - -(( $+functions[_tig] )) || -_tig () { - _git-log -} - # Now, for the main driver… _git() { if (( CURRENT > 2 )); then -- cgit 1.4.1