zsh: cleanup less options

feature/symbol-search
bretello 2020-12-04 02:56:45 +01:00
parent c1e87f9d38
commit 401a53cbe7
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 3 additions and 3 deletions

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