From bc69a13e973195d85315b20372c62c354e5815fc Mon Sep 17 00:00:00 2001 From: Don Harper Date: Tue, 13 Feb 2024 15:20:13 -0600 Subject: [PATCH] add mdcat and fix less flags to work with them --- home/common/default.nix | 1 + home/common/files/bash/bashrc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/common/default.nix b/home/common/default.nix index 341e6a6..bfd679a 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -50,6 +50,7 @@ links2 liquidprompt lunarvim + mdcat moreutils mosh mutt-ics diff --git a/home/common/files/bash/bashrc b/home/common/files/bash/bashrc index 226a9e8..9dc210d 100755 --- a/home/common/files/bash/bashrc +++ b/home/common/files/bash/bashrc @@ -105,9 +105,9 @@ then shopt -s histreedit PAGER=less - LESS="-s" + LESS="-Rs" EXINIT="set wrapmargin=8 sh=$SHELL sw=4 report=2 tabstop=8" - export EXINIT EDITOR PAGER + export EXINIT EDITOR PAGER LESS EDITOR=vi if [ -x /usr/bin/vim ] then