Skip to content

urrickhunt/Dracula-universal-for-manpages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dracula Universal for man-pages

Dracula Universal theme for man-pages

man

Install

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

Step 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"

less

Step 2

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                      

colors

Download config

manpages.zip

Team

This theme is maintained by the following person(s).

urrickhunt
urrickhunt

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

License

MIT License

Releases

No releases published

Packages

No packages published