Dracula Universal for man-pages
Dracula Universal theme for man-pages
Man-pages can now be themed universally meaning the same code works for both Dracula & Dracula Pro.
The only requirement is using less for MANPAGER
Add this first to your .zshrc to use less as MANPAGER:
export MANPAGER="/usr/bin/less -s -M +Gg"
Please note the location of less may be different on macOS
M1 location
export MANPAGER="/opt/homebrew/bin/less -s -M +Gg"
Then simply add this to your .zshrc to define the colors:
export LESS_TERMCAP_mb=$'\e[1;31m' # begin bold
export LESS_TERMCAP_md=$'\e[1;34m' # begin blink
export LESS_TERMCAP_so=$'\e[01;45;37m' # begin reverse video
export LESS_TERMCAP_us=$'\e[01;36m' # begin underline
export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink
export LESS_TERMCAP_se=$'\e[0m' # reset reverse video
export LESS_TERMCAP_ue=$'\e[0m' # reset underline
export GROFF_NO_SGR=1 # for konsole
Download config
This theme is maintained by the following person(s).
urrickhunt |