Dracula Icon

man-pages

Dracula Theme for man-pages
man-pages - Theme Preview

man-pages

Install using Git

If you are a git user, you can install the theme and keep up to date by cloning the repo:

git clone https://github.com/dracula/man-pages.git

Install manually

Download using the GitHub .zip download option and unzip them.

Requirements

The only requirement is using less for MANPAGER;

Activating theme

  1. 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"
  1. 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