Add 'lowdown -t term' alias
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Alias to always output -t term formatted lowdown instead of html (!?!?)
|
||||
alias ldt='lowdown -t term'
|
||||
Reference in New Issue
Block a user