zsh: fix man
This commit is contained in:
parent
51b8d49c4b
commit
c4d03f75d0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pocompile() {
|
|||
}
|
||||
|
||||
man() {
|
||||
if [[ "$1" = -k ]]; then
|
||||
if [[ "$1" = -k ]] || [[ "$1" = '---' ]] ; then
|
||||
command man "$@"
|
||||
elif [[ -n "$1" ]]; then
|
||||
vim man://$1
|
||||
|
|
Loading…
Add table
Reference in a new issue