export MANPAGER='bash -c "sed \$'\''s/pacman/\\e[1;31m&\\e[m/g'\'' | less -isXMR"'
man pacman
]]>I've had this idea of colourizing command options to aide in their memorization. I've been reading through the wiki and various other sites to try to find a way of colouring a single letter on STDOUT or man pages.
Although there are many FAQs on how to create rather impressive aesthetic effects I cannot find one that tells me how to change each instance of just one letter.
For man pages it would be some thing like:
man() {
env \
?????=$(printf "\e[1;31m") \
man "$@"
}
Please help me Arch. I'm sitting an LPIC-1 in a few weeks and I need to draw on my dominant visual memory to remember all these options.
]]>