From 965308c321cdd219772eff3488fb8dfab3ebaa1f Mon Sep 17 00:00:00 2001 From: Blallo Date: Tue, 6 Feb 2024 18:14:10 +0100 Subject: [PATCH] Fix man completion --- .zshrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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