From d4c7d9040e37dca9726e1fb44b9834b93e6802ae Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sat, 1 Jun 2024 21:22:42 +0200 Subject: [PATCH] Add so that manpages use bat for the preview --- home/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.zshrc b/home/.zshrc index 7fd2e11..4277866 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -1,5 +1,6 @@ # Change the system default editor to nvim export EDITOR=nvim +export MANPAGER="sh -c 'col -bx | bat -l man -p'" set_custom_keybindings() { bindkey '^p' history-search-backward