git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2024-08-26 12:02:11 +0200
committermail_redacted_for_web 2024-08-26 12:02:11 +0200
commit1cb21888d96464cfd068c9c782df276ee0682515 (patch)
treead2d794534607be5d2e42d458be2fb15d4faa485
parente9d52745f65f1905623e2793dc2b37f9011b2a1d (diff)
downloaddotfiles-1cb21888d96464cfd068c9c782df276ee0682515.tar.bz2
I'M BATMAN
-rw-r--r--.bash/aliases.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/.bash/aliases.bash b/.bash/aliases.bash
index 405f370..bcdfae2 100644
--- a/.bash/aliases.bash
+++ b/.bash/aliases.bash
@@ -187,3 +187,12 @@ if command -v podman >/dev/null;then
alias pnd="podman network disconnect"
alias ppd="podman pod stop"
fi
+for cmmd in batcat bat; do
+ if command -v "$cmmd" > /dev/null; then
+ # shellcheck disable=SC2139
+ alias cat="${cmmd} --tabs 4 --wrap never --paging never --style 'plain,rule'"
+ export MANPAGER="sh -c 'col -bx | ${cmmd} -l man -p'"
+ export MANROFFOPT="-c"
+ break
+ fi
+done