about summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-11-03 11:17:43 -0500
committerStarfall <us@starfall.systems>2023-11-03 11:18:01 -0500
commit7da6d3bc74fb029d64ec5b66be59f886c4fc7fa7 (patch)
tree6d6822c94eab581e40a19b9af3fa380a7e8524e3 /.config
parent1ed92343e97309a0bb77f32c0f0c7499e1fd4393 (diff)
zsh: add MANROFFOPT='-c' to work around groff 1.23 / bat 0.24 formatting issue
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshenv4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv
index ce62ecf..80ac555 100644
--- a/.config/zsh/.zshenv
+++ b/.config/zsh/.zshenv
@@ -24,7 +24,5 @@ fi
 
 if command -v bat &> /dev/null; then
 	export MANPAGER="sh -c 'col -bx | bat --plain --language man'"
-	# note that mandoc needs a wrapper script e.g.:
-	# col -bx < "$1" | bat -p -l man
-	# <https://github.com/sharkdp/bat/issues/1145>
+	export MANROFFOPT="-c"
 fi