Add 'lowdown -t term' alias

This commit is contained in:
2025-02-10 21:30:03 +01:00
parent d94a406552
commit c9a4fcde74
2 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -1,11 +1,12 @@
Name: demus-profile-scripts
Version: 0.1.0
Version: 0.2.0
Release: %autorelease
Summary: Bash profile customisations
License: GPL3
Source0: bash-completion-ignore-case.sh
Source1: less-syntax-highlight.sh
Source2: lowdown-term.sh
Requires: bash
@@ -17,14 +18,15 @@ Some bash customizations
%prep
cp %{SOURCE0} bash-completion-ignore-case.sh
cp %{SOURCE1} less-syntax-highlight.sh
cp %{SOURCE2} lowdown-term.sh
%build
%install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -p -m 755 -t %{buildroot}%{_sysconfdir}/profile.d bash-completion-ignore-case.sh
install -p -m 755 -t %{buildroot}%{_sysconfdir}/profile.d less-syntax-highlight.sh
install -p -m 755 -t %{buildroot}%{_sysconfdir}/profile.d lowdown-term.sh
%files
%{_sysconfdir}/profile.d
+2
View File
@@ -0,0 +1,2 @@
# Alias to always output -t term formatted lowdown instead of html (!?!?)
alias ldt='lowdown -t term'