diff --git a/colour-cat.sh b/colour-cat.sh new file mode 100644 index 0000000..e80de13 --- /dev/null +++ b/colour-cat.sh @@ -0,0 +1,2 @@ +# Colour cat output using pigmentize +alias ccat='pygmentize -g -O style=paraiso-dark' diff --git a/demus-profile-scripts.spec b/demus-profile-scripts.spec index 7bb3c5d..65c645d 100644 --- a/demus-profile-scripts.spec +++ b/demus-profile-scripts.spec @@ -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/*