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