From a6ff1b3ef0101f9ee715d291965c612477a00331 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 3 Jan 2013 14:59:27 -0500 Subject: [PATCH 3/6] 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 files changed, 6 insertions(+), 0 deletions(-) diff --git a/git.spec b/git.spec index 5441740..f63d14d 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} * Wed Jan 30 2013 Todd Zullinger - 1.8.1.2-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 Jan 30 2013 Adam Tkac - 1.8.1.2-1 - update to 1.8.1.2 -- 1.7.6