Merge pull request #75406 from andersk/gitk-completion

git: Install bash-completion symlink for gitk
This commit is contained in:
Wout Mertens 2019-12-11 15:00:36 +01:00 committed by GitHub
commit 697b44b631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,6 +230,7 @@ stdenv.mkDerivation {
-e "s|exec wish|exec '${tk}/bin/wish'|g" \
"$out/$prog"
done
ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk
'' else ''
# Don't wrap Tcl/Tk, replace them by notification scripts
for prog in bin/gitk libexec/git-core/git-gui; do