fman (297B)
1 #!/usr/bin/env sh 2 3 man() { 4 LESS_TERMCAP_md=$'\e[01;31m' \ 5 LESS_TERMCAP_me=$'\e[0m' \ 6 LESS_TERMCAP_se=$'\e[0m' \ 7 LESS_TERMCAP_ue=$'\e[0m' \ 8 LESS_TERMCAP_us=$'\e[01;32m' \ 9 command man "$@" 10 } 11 12 export MANWIDTH=80 13 14 man $(man -k . | fzf | awk '{ print $2 " " $1 }' | tr -d '()')