Add colored manual

This commit is contained in:
Blallo 2021-03-18 11:17:46 +01:00
parent 2e370ce13b
commit 03550aa791
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

8
.zshrc
View file

@ -270,6 +270,14 @@ urldecode() {
# certo
eval "$(_CERTO_COMPLETE=source_zsh certo)"
## Colored manual
function _man() {
man $@ | bat -p --language="man"
}
alias man="_man"
## Local only
if [ -f ${HOME}/.zshrc.local ]; then