Fix man completion
This commit is contained in:
parent
9b965fac00
commit
965308c321
1 changed files with 1 additions and 5 deletions
6
.zshrc
6
.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
|
||||
|
||||
|
|
Loading…
Reference in a new issue