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
|
fi
|
||||||
|
|
||||||
# Configure less and add colours
|
# Configure less and add colours
|
||||||
export LESS="-RI --mouse"
|
export LESS="-RI --mouse --wheel-lines=3"
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export MANPAGER="less -+N"
|
export MANPAGER="less -+N"
|
||||||
|
export SYSTEMD_PAGER="less $LESS"
|
||||||
# Disable histfile
|
# Disable histfile
|
||||||
export LESSHISTFILE=-
|
export LESSHISTFILE=-
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user