Skip to content

Commit

Permalink
man: Fix colors
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Dec 7, 2023
1 parent 2b524b5 commit d31ca3f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions assets/zsh/plugins/bat.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Configure bat as man pager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"

# Fix issue with colors in man pages
# https://github.com/sharkdp/bat/issues/2568
export MANROFFOPT="-c"

# Set bat theme
export BAT_THEME="Solarized (dark)"

0 comments on commit d31ca3f

Please sign in to comment.