9a61336d33a8a6258c0fb838bfa3c9c488e7d898

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

Fix man-preview completion definition

Related: #5179

Diff

 1diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
 2index c66325cde46ce09bf33bd9ba36a96994cc5444ab..4dbc7578790bef8ad519acb4c7b42abc621427d3 100644
 3--- a/plugins/osx/osx.plugin.zsh
 4+++ b/plugins/osx/osx.plugin.zsh
 5@@ -175,7 +175,7 @@ function quick-look() {
 6 function man-preview() {
 7   man -t "$@" | open -f -a Preview
 8 }
 9-compdef man-preview=man
10+compdef _man man-preview
11 
12 function vncviewer() {
13   open vnc://$@