AutoYADM commit: 2025-03-28 21:15:08

This commit is contained in:
Daniel Fichtinger 2025-03-28 21:15:08 -04:00
parent 6f41baabc3
commit 07e16f6396
11 changed files with 30 additions and 811 deletions

View file

@ -1,18 +1,12 @@
# https://github.com/decors/fish-colored-man/tree/master
function man --wraps man --description 'Format and display manual pages'
set -q man_blink; and set -l blink (set_color $man_blink); or set -l blink (set_color -o red)
set -q man_bold; and set -l bold (set_color $man_bold); or set -l bold (set_color -o B14242)
set -q man_standout; and set -l standout (set_color $man_standout); or set -l standout (set_color 949494)
set -q man_underline; and set -l underline (set_color $man_underline); or set -l underline (set_color -o D87C4A)
set -l end (printf "\e[0m")
set -lx LESS_TERMCAP_mb $blink
set -lx LESS_TERMCAP_md $bold
set -lx LESS_TERMCAP_mb (set_color -o red)
set -lx LESS_TERMCAP_md (set_color -o B14242)
set -lx LESS_TERMCAP_me $end
set -lx LESS_TERMCAP_so $standout
set -lx LESS_TERMCAP_so (set_color 949494)
set -lx LESS_TERMCAP_se $end
set -lx LESS_TERMCAP_us $underline
set -lx LESS_TERMCAP_us (set_color -o D87C4A)
set -lx LESS_TERMCAP_ue $end
set -lx LESS '-R -s'