summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2013-01-03 14:59:27 -0500
committerTodd Zullinger <tmz@pobox.com>2013-02-26 09:46:00 -0500
commitdae85881cef810bc1a7e822cf4b5edcd3dd7b7f4 (patch)
treece80f24993009012b43c49b913f85434f7a115d4
parentff981ceb81aad6d0aef6aef33d5906414b494dc6 (diff)
downloadgit-package-dae85881cef810bc1a7e822cf4b5edcd3dd7b7f4.tar.gz
git-package-dae85881cef810bc1a7e822cf4b5edcd3dd7b7f4.tar.xz
git-package-dae85881cef810bc1a7e822cf4b5edcd3dd7b7f4.zip
Install tcsh completion (requires manual setup by users)
For now, this just gets the file from contrib installed. If there are enough tcsh users that want it to be more automated, that can come later. For now, the directions in the file must be followed to enable tcsh completion.
-rw-r--r--git.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/git.spec b/git.spec
index 5f6e8a7..26ded64 100644
--- a/git.spec
+++ b/git.spec
@@ -450,6 +450,11 @@ perl -p \
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
install -pm 644 contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git
+# Install tcsh completion
+mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
+install -pm 644 contrib/completion/git-completion.tcsh \
+ %{buildroot}%{_datadir}/git-core/contrib/completion/
+
# Move contrib/hooks out of %%docdir and make them executable
mkdir -p %{buildroot}%{_datadir}/git-core/contrib
mv contrib/hooks %{buildroot}%{_datadir}/git-core/contrib
@@ -598,6 +603,7 @@ rm -rf %{buildroot}
* Tue Feb 26 2013 Todd Zullinger <tmz@pobox.com> - 1.8.1.4-2
- Update asciidoc requirements, drop unsupported ASCIIDOC7
- Define GNU_ROFF to force ASCII apostrophes in manpages (so copy/paste works)
+- Install tcsh completion (requires manual setup by users)
* Wed Feb 20 2013 Adam Tkac <atkac redhat com> - 1.8.1.4-1
- update to 1.8.1.4