Add ccat as alias for pigmentize with options
Build and provide rpm of demus profiles / rpmbuild (release) Successful in 38s

This commit is contained in:
2025-03-13 14:22:34 +01:00
parent 0d145a4f9a
commit 4385d26e33
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
# Colour cat output using pigmentize
alias ccat='pygmentize -g -O style=paraiso-dark'
+4 -2
View File
@@ -1,5 +1,5 @@
Name: demus-profile-scripts
Version: 0.5.0
Version: 0.6.0
Release: %autorelease
Summary: Bash profile customisations
@@ -9,8 +9,9 @@ Source1: less-syntax-highlight.sh
Source2: lowdown-term.sh
Source3: cd-dot-dot.sh
Source4: z_powerline.sh
Source5: colour-cat.sh
Requires: bash powerline
Requires: bash powerline python3-pygments
BuildArch: noarch
@@ -28,6 +29,7 @@ install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE1}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE2}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE3}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE4}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE5}
%files
%{_sysconfdir}/profile.d/*