From a3da85d57753ffd7e52d774189887671e6a24bb6 Mon Sep 17 00:00:00 2001 From: juan Date: Sat, 2 Apr 2022 11:39:30 +0800 Subject: [PATCH] change the pager for nnn --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 5edfe60..9327afb 100644 --- a/.zshrc +++ b/.zshrc @@ -78,7 +78,7 @@ n () return fi NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd" - nnn "$@" + PAGER="bat" nnn "$@" if [ -f "$NNN_TMPFILE" ]; then . "$NNN_TMPFILE" rm -f "$NNN_TMPFILE" > /dev/null