nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7d672411bbcf2358a330fa541c8fe3b6134cbe53
parent 9459b15672007c97110bbe4094b59620f3603c17
Author: Anarchiste <46760804+Recidiviste@users.noreply.github.com>
Date:   Sat, 15 Aug 2020 04:03:16 +0200

Adding support for `most` pager (#698)

* Added support of most

* Only test if bat exists

* Faster this way

* Don't test for bat'
Diffstat:
Mplugins/preview-tui | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -64,6 +64,7 @@ TERMINAL="$TERMINAL" # same goes for the terminal USE_SCOPE="${USE_SCOPE:-0}" USE_PISTOL="${USE_PISTOL:-0}" PAGER="${PAGER:-less -R}" +[ "$PAGER" = "most" ] && PAGER="less -R" if [ -e "${TMUX%%,*}" ] && tmux -V | grep -q '[ -][3456789]\.'; then TERMINAL=tmux