File: Bash-completion-for-git-hub.patch

package info (click to toggle)
git-hub 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 288 kB
  • sloc: python: 1,581; sh: 136; makefile: 53
file content (24 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Maximiliano Curia <maxy@gnuservers.com.ar>
Date: Wed, 19 Jul 2017 12:20:06 +0200
Subject: Bash completion for git-hub

The current bash completion only works with `git hub', this also applies
the completion to the git-hub invocations.

Closes: 864505
---
 generate-bash-completion | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/generate-bash-completion b/generate-bash-completion
index aa51e5b..181b86b 100755
--- a/generate-bash-completion
+++ b/generate-bash-completion
@@ -111,5 +111,7 @@ cat <<EOT
 		esac
 	fi
 }
+
+_xfunc git __git_complete git-hub _git_hub
 EOT