Skip to content

Commit

Permalink
Restore original colors
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Oct 2, 2024
1 parent 386b638 commit 13337a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/colored-man-pages/colored-man-pages.plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@

# Adds the LESS_TERMCAP_* variables to color the man pages.
function colored() {
local -x LESS_TERMCAP_mb=${_omb_term_green}
local -x LESS_TERMCAP_md=${_omb_term_bold_green}
local -x LESS_TERMCAP_mb=${_omb_term_red}
local -x LESS_TERMCAP_md=${_omb_term_bold_red}
local -x LESS_TERMCAP_me=${_omb_term_reset}
local -x LESS_TERMCAP_so=${_omb_term_bold_yellow}
local -x LESS_TERMCAP_se=${_omb_term_reset}
local -x LESS_TERMCAP_us=${_omb_term_purple}
local -x LESS_TERMCAP_us=${_omb_term_green}
local -x LESS_TERMCAP_ue=${_omb_term_reset}

# Prefer `less` whenever available, since we specifically configured
# environment for it.
local -x PAGER="${commands[less]:-$PAGER}"
local -x PAGER=$(type -P less || _omb_util_print "$PAGER")
local -x GROFF_NO_SGR=1

command "$@"
Expand Down

0 comments on commit 13337a6

Please sign in to comment.