mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
zsh: LESS with more usability
These defaults are heavily inspired by the default of $SYSTEMD_LESS provided by systemd themselves. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
ef4b739af1
commit
f520784d9b
@ -16,9 +16,10 @@ if exists tty && tty -s; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Configure less and add colours
|
# Configure less and add colours
|
||||||
export LESS="-RI --mouse --wheel-lines=3"
|
export LESS="-nRIFRSXM --mouse --wheel-lines=3"
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export MANPAGER="less -+N"
|
export MANPAGER="less -+N"
|
||||||
|
export SYSTEMD_LESS="$LESS"
|
||||||
export SYSTEMD_PAGER="less $LESS"
|
export SYSTEMD_PAGER="less $LESS"
|
||||||
# Disable histfile
|
# Disable histfile
|
||||||
export LESSHISTFILE=-
|
export LESSHISTFILE=-
|
||||||
|
Loading…
Reference in New Issue
Block a user