diff --git a/.zshrc b/.zshrc index 85cd380..cacc213 100644 --- a/.zshrc +++ b/.zshrc @@ -300,11 +300,7 @@ fi ## Colored manual -function color_man() { - man $@ | bat -p --language="man" -} - -alias man="color_man" +alias man="env PAGER=\"bat -l man -p\" man" ## Local only