From 8c20041ab9c6700de54083a25d90be64e4851de8 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 12 Dec 2024 15:45:41 +0000 Subject: [PATCH] Add tealdeer package and configure zsh manpager - Add tealdeer to the list of packages in default.nix - Configure zsh to use nvim as the manpager in zsh.nix --- home/common/core/default.nix | 1 + home/common/core/zsh.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/home/common/core/default.nix b/home/common/core/default.nix index 31a09bb..b3af8ab 100644 --- a/home/common/core/default.nix +++ b/home/common/core/default.nix @@ -29,6 +29,7 @@ postgresql_16 libqalculate tmux + tealdeer ; }; home.stateVersion = "24.05"; diff --git a/home/common/core/zsh.nix b/home/common/core/zsh.nix index 369d6b9..0167ff7 100644 --- a/home/common/core/zsh.nix +++ b/home/common/core/zsh.nix @@ -103,6 +103,8 @@ echo -ne '\e[5 q' # Use beam shape cursor on startup. preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. + export MANPAGER="nvim +Man\!" + ''; }; }