From 5b32bfdcfca68a968bb014ac063c09a2393188c6 Mon Sep 17 00:00:00 2001 From: Blallo Date: Tue, 9 Nov 2021 18:41:17 +0100 Subject: [PATCH] Update man alias --- .zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 34903c6..8aa4573 100644 --- a/.zshrc +++ b/.zshrc @@ -282,11 +282,10 @@ fi ## Colored manual -function _man() { - man $@ | bat -p --language="man" +function cman() { + man $@ | bat -p --language="man" } - -alias man="_man" +compdef cman='man' ## Local only