1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

zsh: cleanup less options

This commit is contained in:
bretello 2020-12-04 02:56:45 +01:00
parent c1e87f9d38
commit 401a53cbe7
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -43,13 +43,13 @@ export HISTSIZE=100000
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# less options
export LESS='-xRF-j12' # -j12: displays 12 lines before search results with / and ?
if [[ "$(command -v bat)" ]]; then
alias cat=bat
export BAT_PAGER="less -xRF"
export BAT_PAGER="less $LESS"
export PAGER=bat
fi
# less options
export LESS='-RF-j12' # -j12: displays 12 lines before search results with / and ?
if [[ $SSH_CLIENT ]]; then
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock