mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
zsh: cleanup less options
This commit is contained in:
parent
c1e87f9d38
commit
401a53cbe7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user