diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-06-09 18:44:54 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-06-09 18:44:54 +0100 |
| commit | 7518708b6af9feec09f8332cca2c45385a3d1b1c (patch) | |
| tree | 33a84032851e6085a13e574c236d2607c81eac1c | |
| parent | d639206688df6c6b0d7462544263b4f61cb342d1 (diff) | |
Removed man function from .kshrc that colors man pages using bat and replaced by setting the MANPAGER variable.HEADmaster
| -rw-r--r-- | .kshrc | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -56,14 +56,11 @@ if _exists less; then export PAGER LESSHISTFILE LESS fi -# Colored man pages -man() { - sh -c "man '$@' | col -bx | bat -l man" -} - # Set prompt: ``username@hostname directory $ '' PS1="\[\e[1;32m\]\u@\h \[\e[1;34m\]\w\[\e[0m\] \[\e[1;31m\]\$(__get_current_git_branch_name)\[\e[0m\] $ " +# Color man pages using bat +MANPAGER="sh -c 'col -bx | bat -l man -p'" COLORTERM="truecolor" EDITOR="vim" VISUAL="vim" |
