diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/git/git.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index ace1790a02..ddb1ceed99 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc @@ -38,6 +38,8 @@ do_install () { install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* + install -d ${D}/${datadir}/bash-completion/completions/ + install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git } perl_native_fixup () { @@ -94,6 +96,10 @@ PERLTOOLS = " \ ${datadir}/git-core/templates/hooks/pre-rebase.sample \ " +# Basic tab completion support +PACKAGES =+ "${PN}-bash-completion" +FILES_${PN}-bash-completion = "${datadir}/bash-completion/completions/*" + # Git tools requiring perl PACKAGES =+ "${PN}-perltools" FILES_${PN}-perltools += " \ |