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:
parent
6dc01ac2bd
commit
b59f33a1f5
@ -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=-
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user