Summary: | devel/git: not all bash contrib scripts linked to /usr/local/etc/bash_completion.d | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | pierogmorski <pierogmorski> |
Component: | Individual Port(s) | Assignee: | Renato Botelho <garga> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(garga) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
pierogmorski
2018-09-28 08:34:02 UTC
(In reply to pierogmorski from comment #0) Both git-prompt.sh and git-completion.bash are available under /usr/local/share/git-core/contrib/completion/ when CONTRIB option is selected. git-prompt.sh is a script to help users to configure bash's prompt to show git information, it's not a completion related script so IMO it doesn't belong to /usr/local/etc/bash_completion.d git-completion.bash is installed there as git.sh for a long time, before I adopted this port. I never changed that to avoid breaking users' configuration. I agree it's non standard so I'll work on a change to install it keeping original name and add a notice in pkg-message. A commit references this bug: Author: garga Date: Fri Sep 28 12:48:38 UTC 2018 New revision: 480858 URL: https://svnweb.freebsd.org/changeset/ports/480858 Log: devel/git: Keep original bash completion filename Do not rename git-completion.bash to git.sh to make it easier for users that follow git docs, which point to original filename. Add a note in pkg-message to let users know about it. PR: 231775 Submitted by: pierogmorski@gmail.com Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/devel/git/Makefile head/devel/git/pkg-message head/devel/git/pkg-plist (In reply to Renato Botelho from comment #1) Renato, First off, thanks for the blindingly quick turnaround with this. You make a reasonable argument re: git-prompt.sh. Agreed that it isn't actually part of the bash completion feature. |