1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

zsh: systemd: explicitly set pager with args

Sometimes systemd ignores the $LESS variable, so force it a little harder
This commit is contained in:
Joe Groocock 2020-03-22 10:28:14 +00:00
parent 6dc01ac2bd
commit b59f33a1f5
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -17,9 +17,10 @@ if exists tty && tty -s; then
fi
# Configure less and add colours
export LESS="-RI --mouse"
export LESS="-RI --mouse --wheel-lines=3"
export PAGER="less"
export MANPAGER="less -+N"
export SYSTEMD_PAGER="less $LESS"
# Disable histfile
export LESSHISTFILE=-