diff --git a/scripts/batman b/scripts/batman index b0e79a9..ba8dc96 100755 --- a/scripts/batman +++ b/scripts/batman @@ -2,7 +2,6 @@ export MANPAGER='sh -c "col -bx | bat --language man --style grid"' export MANROFFOPT='-c' -export BAT_PAGER="$PAGER $LESS" command man "$@" exit $? diff --git a/shell/.profile b/shell/.profile index 0af0ca7..4050165 100644 --- a/shell/.profile +++ b/shell/.profile @@ -28,6 +28,9 @@ export LESS_TERMCAP_se=$'\E[0m' # reset reverse video export LESS_TERMCAP_us=$'\E[1;32m' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline +# Use my preferred pager settings for bat +export BAT_PAGER="$PAGER $LESS" + # Rust installation export PATH="$HOME/.cargo/bin:$PATH"