Update man alias

This commit is contained in:
Blallo 2021-11-09 18:41:17 +01:00
parent 8dbf08de1e
commit 5b32bfdcfc
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

7
.zshrc
View file

@ -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