From d53c640306e7738566357c814b0384c8a9148f74 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Sun, 21 Mar 2021 00:24:58 -0400 Subject: [PATCH] Get rid of bat as MANPAGER --- zsh/funcs/batman | 4 ---- zsh/zshrc | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 zsh/funcs/batman diff --git a/zsh/funcs/batman b/zsh/funcs/batman deleted file mode 100644 index da0f748..0000000 --- a/zsh/funcs/batman +++ /dev/null @@ -1,4 +0,0 @@ -command -v bat > /dev/null -if [[ $? -eq 0 ]]; then - export MANPAGER="sh -c 'col -bx | bat -l man -p'" -fi diff --git a/zsh/zshrc b/zsh/zshrc index 17a4d3a..06d3c2a 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -67,6 +67,7 @@ fi if [[ ( $ZNAP_USED = 1 ) ]]; then znap source oh-my-zsh lib/{git,completion} + znap source oh-my-zsh plugins/colored-man-pages fpath=($fpath ~[oh-my-zsh]/plugins/{pass,ripgrep,cargo,docker,docker-compose,rsync,fd}) znap source zsh-syntax-highlighting fpath=($fpath ~[zsh-completions]/src)