More bash completion settings

This commit is contained in:
2025-02-10 21:30:03 +01:00
parent d586eaf1e6
commit 37af8417e4
3 changed files with 13 additions and 14 deletions
-2
View File
@@ -1,2 +0,0 @@
# Always ignore case in bash completion
set completion-ignore-case on
+6
View File
@@ -0,0 +1,6 @@
# Always ignore case in bash completion
set completion-ignore-case On
set completion-map-case On
set colored-completion-prefix On
set colored-stats On
set show-all-if-ambiguous On
+7 -12
View File
@@ -1,10 +1,10 @@
Name: demus-profile-scripts Name: demus-profile-scripts
Version: 0.3.1 Version: 0.3.2
Release: %autorelease Release: %autorelease
Summary: Bash profile customisations Summary: Bash profile customisations
License: GPL3 License: GPL3
Source0: bash-completion-ignore-case.sh Source0: bash-completion.sh
Source1: less-syntax-highlight.sh Source1: less-syntax-highlight.sh
Source2: lowdown-term.sh Source2: lowdown-term.sh
Source3: cd-dot-dot.sh Source3: cd-dot-dot.sh
@@ -17,23 +17,18 @@ BuildArch: noarch
Some bash customizations Some bash customizations
%prep %prep
cp %{SOURCE0} bash-completion-ignore-case.sh
cp %{SOURCE1} less-syntax-highlight.sh
cp %{SOURCE2} lowdown-term.sh
cp %{SOURCE3} cd-dot-dot.sh
%build %build
%install %install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d bash-completion-ignore-case.sh install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE0}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d less-syntax-highlight.sh install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE1}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d lowdown-term.sh install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE2}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d cd-dot-dot.sh install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE3}
%files %files
%{_sysconfdir}/profile.d %{_sysconfdir}/profile.d/*
%changelog %changelog
%autochangelog %autochangelog