aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2024-07-01 11:35:22 +0500
committerAnton Bobov <anton@bobov.name>2024-07-09 22:53:57 +0500
commitab3a1f5d3c54b65f851bf88c623b5c953c17db62 (patch)
tree5f578656d2a627ab5834bbfb86a723ef346f1810
parent26a846bcbc825bc2a9837f5c9ee0e011cf02b5d3 (diff)
[nnn] Fix preview
Removed `-F/--quit-if-one-screen` from less options.
-rw-r--r--files/.zsh/rc/S50_nnn2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/.zsh/rc/S50_nnn b/files/.zsh/rc/S50_nnn
index 9c130b8..a6fb43f 100644
--- a/files/.zsh/rc/S50_nnn
+++ b/files/.zsh/rc/S50_nnn
@@ -50,6 +50,8 @@ n ()
# stty lwrap undef
# stty lnext undef
+ export LESS="${LESS//[FX]}"
+
# The command builtin allows one to alias nnn to n, if desired, without
# making an infinitely recursive alias
command nnn "$@"