Skip to content

Commit

Permalink
Update plugins/colored-man-pages/colored-man-pages.plugin.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Koichi Murase <[email protected]>
  • Loading branch information
RobLoach and akinomyoga authored Oct 2, 2024
1 parent 386b638 commit e5e48c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/colored-man-pages/colored-man-pages.plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function colored() {

# 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 e5e48c2

Please sign in to comment.