[UPDATE][SHELL] BAT_PAGER variable in profile
I don't want my pager to clobber my terminal once I'm done looking at whatever I was looking at. This also means that I can remove its definition from the `batman` script.
This commit is contained in:
parent
5f09bfd935
commit
5dfbb3fb90
|
@ -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 $?
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue