From dae85881cef810bc1a7e822cf4b5edcd3dd7b7f4 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 3 Jan 2013 14:59:27 -0500 Subject: [PATCH] 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. --- git.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 - 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 - 1.8.1.4-1 - update to 1.8.1.4